mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
only permit GET requests to go2rtc
This commit is contained in:
parent
5c4501efbc
commit
03d3c72821
@ -165,18 +165,18 @@ http {
|
||||
}
|
||||
|
||||
location /live/mse/ {
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
proxy_pass http://go2rtc/;
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
location /live/webrtc/ {
|
||||
proxy_pass http://go2rtc/;
|
||||
include proxy.conf;
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~* /api/go2rtc([/]?.*)$ {
|
||||
proxy_pass http://go2rtc;
|
||||
rewrite ^/api/go2rtc(.*)$ /api$1 break;
|
||||
proxy_pass http://go2rtc/;
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user