Updates for v6
This commit is contained in:
parent
76bf97612b
commit
7533271edb
2 changed files with 20 additions and 1 deletions
|
@ -82,9 +82,16 @@
|
|||
- elasticsearch
|
||||
- nginx
|
||||
- postgresql-server
|
||||
- compat-openssl11
|
||||
- compat-openssl11
|
||||
- redis
|
||||
state: present
|
||||
|
||||
- name: Start and enable redis services
|
||||
service:
|
||||
name: redis
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: Check if postgresql is initialized
|
||||
stat:
|
||||
path: "/var/lib/pgsql/data/pg_hba.conf"
|
||||
|
|
|
@ -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…
Reference in a new issue