fuyu il y a 4 ans
Parent
commit
cdd9d9ba1e
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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;