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
2de070c84f
commit
3e2167c4e0
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ stream {
|
||||||
}
|
}
|
||||||
|
|
||||||
{% for domain_ip in domain_ip_map %}
|
{% for domain_ip in domain_ip_map %}
|
||||||
upstream {{ domain_ip.split(":")[0].replace('.', '') }} {
|
upstream {{ domain_ip.split(":")[0].replace('.', '_') }} {
|
||||||
server {{ domain_ip.split(":")[1] }}:443;
|
server {{ domain_ip.split(":")[1] }}:443;
|
||||||
}
|
}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue