nginx.auth.conf: remove location = /
This commit is contained in:
parent
eb63185daa
commit
7ca6fe3eac
@ -45,18 +45,6 @@ server {
|
|||||||
proxy_pass http://auth_api/$AUTH_MODE/$1;
|
proxy_pass http://auth_api/$AUTH_MODE/$1;
|
||||||
}
|
}
|
||||||
|
|
||||||
location = / {
|
|
||||||
proxy_pass http://app;
|
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
|
||||||
proxy_set_header Connection 'upgrade';
|
|
||||||
proxy_set_header Host $host;
|
|
||||||
proxy_cache_bypass $http_upgrade;
|
|
||||||
|
|
||||||
include /etc/nginx/include/auth.conf;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://app;
|
proxy_pass http://app;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user