nginx.conf: fix auth
This commit is contained in:
parent
95da5999d2
commit
c9fd8c453b
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user