mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update conf/nginx/sni_forward.conf: replace '.' with underscore in domain to prevent possible conflicts in specific cases
This commit is contained in:
parent
7a77083a8d
commit
91fba4b35a
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ stream {
|
||||||
|
|
||||||
map $ssl_preread_server_name $name {
|
map $ssl_preread_server_name $name {
|
||||||
{% for domain_ip in domain_ip_map %}
|
{% for domain_ip in domain_ip_map %}
|
||||||
{{ domain_ip.split(":")[0] }} {{ domain_ip.split(":")[0].replace('.', '') }};
|
{{ domain_ip.split(":")[0] }} {{ domain_ip.split(":")[0].replace('.', '_') }};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
default https_default_backend;
|
default https_default_backend;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue