Updates for v6
This commit is contained in:
parent
76bf97612b
commit
7533271edb
2 changed files with 20 additions and 1 deletions
|
@ -53,6 +53,18 @@ server {
|
|||
proxy_pass http://zammad-websocket;
|
||||
}
|
||||
|
||||
# action cable
|
||||
location /cable {
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
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-railsserver;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header CLIENT_IP $remote_addr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue