mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
www/nginx: sync with master
This commit is contained in:
parent
2680e18051
commit
082cc03590
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= nginx
|
||||
PLUGIN_VERSION= 1.32.1
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= Nginx HTTP server and reverse proxy
|
||||
PLUGIN_DEPENDS= nginx
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
|
|
|||
|
|
@ -96,11 +96,11 @@
|
|||
{% endif %}
|
||||
proxy_ssl {% if upstream.tls_enable == '1' %}on{% else %}off{% endif %};
|
||||
proxy_pass upstream{{ server.upstream.replace('-','') }};
|
||||
proxy_protocol {% if upstream.proxy_protocol == '1' %}on{% else %}off{% endif %};
|
||||
{% endif %}
|
||||
{% elif server.route_field == 'sni_upstream_map' %}
|
||||
proxy_pass $hostmap{{ server.sni_upstream_map.replace('-','') }};
|
||||
{% endif %}
|
||||
proxy_protocol {% if upstream.proxy_protocol == '1' %}on{% else %}off{% endif %};
|
||||
{% if server.proxy_responses is defined and server.proxy_responses != '' %}
|
||||
proxy_responses {{ server.proxy_responses }};
|
||||
{% endif%}
|
||||
|
|
|
|||
Loading…
Reference in a new issue