correct chisel role

This commit is contained in:
vincent 2020-11-25 10:50:28 +01:00
parent 0828e84b62
commit a80dcc2980
2 changed files with 6 additions and 1 deletions

View File

@ -3,4 +3,5 @@
roles: roles:
- system - system
- autofs - autofs
- chisel - role: ansible-role-chisel
become: yes

View File

@ -125,6 +125,7 @@ certbot_certs:
- syno.{{domain.name}} - syno.{{domain.name}}
- file.{{domain.name}} - file.{{domain.name}}
- hass.{{domain.name}} - hass.{{domain.name}}
- ww.{{domain.name}}
nginx_upstreams: nginx_upstreams:
- name: PHP-handler - name: PHP-handler
@ -379,6 +380,9 @@ nginx_vhosts:
extra_parameters: | extra_parameters: |
include /etc/nginx/conf.d/{{domain.name}}.ssl; include /etc/nginx/conf.d/{{domain.name}}.ssl;
location / { location / {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host:$server_port; proxy_set_header X-Forwarded-Host $host:$server_port;