Fixes #3531 - Nginx SSL configuration improvement to prevent "CSRF token verification failed!" error
This commit is contained in:
parent
1e35eaf770
commit
e43abf2a96
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,7 @@ server {
|
|||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header CLIENT_IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 86400;
|
||||
proxy_pass http://zammad-websocket;
|
||||
}
|
||||
|
@ -102,6 +103,7 @@ server {
|
|||
proxy_set_header Host $http_host;
|
||||
proxy_set_header CLIENT_IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# change this line in an SSO setup
|
||||
proxy_set_header X-Forwarded-User "";
|
||||
|
|
Loading…
Reference in a new issue