mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 09:45:22 +03:00
Remove mp4 path
This commit is contained in:
parent
71038bb8f6
commit
7762cbe3cb
@ -170,8 +170,8 @@ http {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /go2rtc/ {
|
location ~ /go2rtc/(.*)$ {
|
||||||
proxy_pass http://go2rtc/;
|
proxy_pass http://go2rtc/$1;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
@ -184,14 +184,6 @@ http {
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /live/mp4/(.*)$ {
|
|
||||||
proxy_pass http://go2rtc/api/stream.mp4?src=$1;
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection "Upgrade";
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /live/mse/ {
|
location /live/mse/ {
|
||||||
proxy_pass http://go2rtc/;
|
proxy_pass http://go2rtc/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user