diff --git a/server/nginx.conf b/server/nginx.conf index 91fd6b0..1c13613 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -17,7 +17,7 @@ server { include /etc/nginx/mime.types; - location /auth-srv/ { + location = /auth { internal; @@ -27,13 +27,7 @@ server { proxy_set_header X-Original-Remote-Addr $remote_addr; proxy_set_header X-Original-Host $host; - proxy_pass http://auth_logs_api/; - } - - location = /auth { - internal; - - proxy_pass /auth-srv/auth/check-token; + proxy_pass http://auth_logs_api/auth/check-token; }