Browse Source

修复nginx配置

集成Redis
wanggang 2 years ago
parent
commit
59b1bd356c
  1. 4
      build/src/docker/publish/conf/nginx/nginx.conf

4
build/src/docker/publish/conf/nginx/nginx.conf

@ -59,7 +59,7 @@ http {
index index.html; index index.html;
} }
location ^/api/ { location ~* ^/api/ {
proxy_pass http://proxy; proxy_pass http://proxy;
if ($http_upgrade ~* "close") { if ($http_upgrade ~* "close") {
break; break;
@ -81,7 +81,7 @@ http {
index index.html; index index.html;
} }
location ^/api/ { location ~* ^/api/ {
proxy_pass http://proxy; proxy_pass http://proxy;
if ($http_upgrade ~* "close") { if ($http_upgrade ~* "close") {
break; break;

Loading…
Cancel
Save