mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
nginx do not forward /admin, but enforce trailing slash
This commit is contained in:
parent
564261a72f
commit
ccc9b9bf58
@ -42,7 +42,7 @@ server {
|
||||
}
|
||||
|
||||
# Admin Frontend
|
||||
location /admin {
|
||||
location /admin/ {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
@ -50,8 +50,7 @@ server {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
#todo remove /admin
|
||||
proxy_pass http://127.0.0.1:8080/admin;
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_redirect off;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user