correct chisel role
This commit is contained in:
parent
0828e84b62
commit
a80dcc2980
@ -3,4 +3,5 @@
|
|||||||
roles:
|
roles:
|
||||||
- system
|
- system
|
||||||
- autofs
|
- autofs
|
||||||
- chisel
|
- role: ansible-role-chisel
|
||||||
|
become: yes
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user