Updates for v6

This commit is contained in:
Tyler Hale 2023-06-06 06:18:15 -06:00
parent 76bf97612b
commit 7533271edb
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
2 changed files with 20 additions and 1 deletions

View file

@ -83,8 +83,15 @@
- nginx
- postgresql-server
- 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"

View file

@ -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;