From 55da577f2906e9beb07bbc57db7875acf18629a9 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 7 Nov 2019 07:59:54 +0800 Subject: [PATCH] update Former-commit-id: 70bf9bd544ab5350e99460c1150cc694cf54c463 --- publish/src/linux-x64/publish/nginx.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 +} +