fuyu hace 4 años
padre
commit
cdd9d9ba1e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      conf.d/kk2.ehcs.ieds.com.cn.conf

+ 2 - 2
conf.d/kk2.ehcs.ieds.com.cn.conf

@@ -1,4 +1,4 @@
-upstream html {
+upstream api {
     server 127.0.0.1:9600;
 }
 server {
@@ -10,7 +10,7 @@ server {
     #add_header Access-Control-Allow-Headers 'X-Requested-With,Content-Type';
     #add_header Access-Control-Allow-Methods 'GET,POST,OPTIONS';
     location / {
-      proxy_pass              http://html/;
+      proxy_pass              http://api/;
       #proxy_set_header        Host $host;
       proxy_set_header        X-Real-IP $remote_addr;
       proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;