Selaa lähdekoodia

modify nginx.conf

Feick 2 vuotta sitten
vanhempi
commit
08b322d9a0
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12 0
      nginx.conf

+ 12 - 0
nginx.conf

@@ -26,6 +26,18 @@ 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/ {
     	    proxy_pass http://diagnosis:8080/;