mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
unifised urls without binding to mjpg_streamer
This commit is contained in:
@@ -112,8 +112,8 @@ http {
|
||||
include /etc/nginx/proxy-params.conf;
|
||||
}
|
||||
|
||||
location /streamer {
|
||||
rewrite /streamer/?(.*) /$1 break;
|
||||
location ~ ^/streamer/(snapshot|stream)(?:/(.*))?$ {
|
||||
rewrite /streamer/?(.*)(?:/(.*))?$ /?action=$1 break;
|
||||
proxy_pass http://mjpg_streamer;
|
||||
include /etc/nginx/proxy-params.conf;
|
||||
proxy_buffering off;
|
||||
|
||||
Reference in New Issue
Block a user