瀏覽代碼

update nginx.conf

Feick 2 年之前
父節點
當前提交
fd08810f0d
共有 1 個文件被更改,包括 1 次插入13 次删除
  1. 1 13
      nginx.conf

+ 1 - 13
nginx.conf

@@ -26,20 +26,8 @@ http {
         #error_log /usr/share/nginx/logs/error.log;
         #access_log  /usr/share/nginx/logs/host.access.log;
 
-        location /login {
-            proxy_pass http://diagnosis:8080/;
-            #proxy_set_header   Host             $host;
-            #proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
-        }
-
-        location /logout {
-            proxy_pass http://diagnosis:8080/;
-            #proxy_set_header   Host             $host;
-            #proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;
-        }
-
         # /rest/diagnosis/login  --> /login
-    	location /rest/diagnosis/ {
+    	location /rest/diagnosis {
     	    proxy_pass http://diagnosis:8080/;
     	    #proxy_set_header   Host             $host;
     	    #proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;