Remove mp4 path

This commit is contained in:
Nick Mowen 2022-10-31 07:59:17 -06:00
parent 71038bb8f6
commit 7762cbe3cb

View File

@ -170,8 +170,8 @@ http {
proxy_set_header Host $host;
}
location /go2rtc/ {
proxy_pass http://go2rtc/;
location ~ /go2rtc/(.*)$ {
proxy_pass http://go2rtc/$1;
proxy_http_version 1.1;
proxy_set_header Host $host;
}
@ -184,14 +184,6 @@ http {
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/ {
proxy_pass http://go2rtc/;
proxy_http_version 1.1;