Fix proxy headers when using WebSocket.
This commit is contained in:
parent
9f90985e54
commit
40fa44dcc2
5 changed files with 5 additions and 0 deletions
|
@ -12,5 +12,6 @@ server {
|
||||||
proxy_pass http://127.0.0.1:{{ ports['hedgedoc'] }};
|
proxy_pass http://127.0.0.1:{{ ports['hedgedoc'] }};
|
||||||
|
|
||||||
include /etc/nginx/snippets/websocket.conf;
|
include /etc/nginx/snippets/websocket.conf;
|
||||||
|
include /etc/nginx/snippets/proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,6 @@ server {
|
||||||
proxy_pass https://127.0.0.1:{{ ports['mailserver_jmap'] }};
|
proxy_pass https://127.0.0.1:{{ ports['mailserver_jmap'] }};
|
||||||
|
|
||||||
include /etc/nginx/snippets/websocket.conf;
|
include /etc/nginx/snippets/websocket.conf;
|
||||||
|
include /etc/nginx/snippets/proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,5 +12,6 @@ server {
|
||||||
proxy_set_header X-Client-Port $remote_port;
|
proxy_set_header X-Client-Port $remote_port;
|
||||||
proxy_set_header X-SSL-Cert $ssl_client_cert;
|
proxy_set_header X-SSL-Cert $ssl_client_cert;
|
||||||
include /etc/nginx/snippets/websocket.conf;
|
include /etc/nginx/snippets/websocket.conf;
|
||||||
|
include /etc/nginx/snippets/proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,5 +8,6 @@ server {
|
||||||
proxy_pass http://127.0.0.1:{{ ports['uptime_kuma'] }};
|
proxy_pass http://127.0.0.1:{{ ports['uptime_kuma'] }};
|
||||||
|
|
||||||
include /etc/nginx/snippets/websocket.conf;
|
include /etc/nginx/snippets/websocket.conf;
|
||||||
|
include /etc/nginx/snippets/proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,5 +14,6 @@ server {
|
||||||
proxy_pass http://vaultwarden;
|
proxy_pass http://vaultwarden;
|
||||||
|
|
||||||
include /etc/nginx/snippets/websocket.conf;
|
include /etc/nginx/snippets/websocket.conf;
|
||||||
|
include /etc/nginx/snippets/proxy.conf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue