Skip to content
Snippets Groups Projects
Commit 9ad68201 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

webserver/proxy: Allow overriding proxy_http_version

This is needed for WebSocket
parent 33fff03f
No related branches found
No related tags found
No related merge requests found
...@@ -35,6 +35,9 @@ ...@@ -35,6 +35,9 @@
proxy_cookie_path / "/; Secure; HttpOnly; SameSite=Lax"; proxy_cookie_path / "/; Secure; HttpOnly; SameSite=Lax";
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if location.proxy_http_version is defined %}
proxy_http_version {{location.proxy_http_version}};
{% endif %}
{% if location.proxy_headers is defined %} {% if location.proxy_headers is defined %}
{% for key, value in location.proxy_headers.items() %} {% for key, value in location.proxy_headers.items() %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment