Skip to content
Snippets Groups Projects
Commit e86c9561 authored by Lars Beckers's avatar Lars Beckers Committed by Hinrikus Wolf
Browse files

webserver: add unix proxy to proxy location

parent 03bfb979
No related branches found
No related tags found
1 merge request!3Unify uwsgi python
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
{% elif server.port is defined %} {% elif server.port is defined %}
proxy_pass http://127.0.0.1:{{server.port}}{% if not location.proxy_relative|default(false) %}/{% endif %}; proxy_pass http://127.0.0.1:{{server.port}}{% if not location.proxy_relative|default(false) %}/{% endif %};
{% elif location.proxy_unix is defined %}
proxy_pass http://unix:{{location.proxy_unix}};
{% else %} {% else %}
proxy_pass http://unix:{{server.socket}}; proxy_pass http://unix:{{server.socket}};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment