diff --git a/publish/src/linux-x64/publish/nginx.conf b/publish/src/linux-x64/publish/nginx.conf index e062e190..82ffec25 100644 --- a/publish/src/linux-x64/publish/nginx.conf +++ b/publish/src/linux-x64/publish/nginx.conf @@ -24,6 +24,10 @@ http { proxy_pass http://localhost:8080/live/; } + location ^~ /video/ { + proxy_pass http://localhost:8080/; + } + location ^~ /UserCenter/ { proxy_pass http://localhost:8010/; #add_header 'Access-Control-Allow-Origin' '*'; @@ -49,4 +53,5 @@ http { } } -} \ No newline at end of file +} +