Browse Source

Merge branch 'feature/cicd-test' of duanxiaoduan/tmr-group-admin into develop

xuyiping 1 year ago
parent
commit
64cade6372
1 changed files with 8 additions and 8 deletions
  1. 8 8
      default.conf.template

+ 8 - 8
default.conf.template

@@ -19,14 +19,14 @@ server {
         root   /usr/share/nginx/html;
     }
 
-    location /prod-api/ {
-        proxy_pass  ${BACKEND_HOST};
-        proxy_set_header Host $host;
-        proxy_set_header X-Real-IP $remote_addr;
-        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
-        proxy_http_version 1.1;
-        proxy_set_header Connection "";
-    }
+    # location /prod-api/ {
+    #    proxy_pass  ${BACKEND_HOST};
+    #    proxy_set_header Host $host;
+    #    proxy_set_header X-Real-IP $remote_addr;
+    #    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+    #    proxy_http_version 1.1;
+    #    proxy_set_header Connection "";
+    #}
 
     # proxy the PHP scripts to Apache listening on 127.0.0.1:80
     #