mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
location.conf: fix proxy_ssl_name, add hook (#2243)
This commit is contained in:
@@ -178,10 +178,10 @@ location {{ location.matchtype }} {{ location.urlpattern }} {
|
||||
proxy_ssl_server_name on;
|
||||
{% else %}
|
||||
proxy_ssl_server_name off;
|
||||
{% if upstream.tls_name_override is defined and upstream.tls_name_override != '' %}
|
||||
{% endif %}
|
||||
{% if upstream.tls_name_override is defined and upstream.tls_name_override != '' %}
|
||||
proxy_ssl_name {{ upstream.tls_name_override }};
|
||||
{% endif %}
|
||||
{% endif%}
|
||||
{% endif %}
|
||||
{% if upstream.tls_protocol_versions is defined and upstream.tls_protocol_versions != '' %}
|
||||
proxy_ssl_protocols {{ upstream.tls_protocol_versions.replace(',', ' ') }};
|
||||
{% endif %}
|
||||
@@ -206,5 +206,5 @@ location {{ location.matchtype }} {{ location.urlpattern }} {
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}{# honeypot #}
|
||||
|
||||
include {{ location['@uuid'] }}_post/*.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user