2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-27 22:39:03 +00:00

feat(config): Add IPv6 listener to nginx site configuration (#1312)

This commit is contained in:
Orsiris de Jong 2022-05-30 13:35:08 +02:00 committed by GitHub
parent d194dc8bb1
commit 593c7b737f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,10 @@ map {{ from_variable }} {{ to_variable }} {
server {
{% if ssl_certificate and ssl_certificate_key %}
listen {{ port }} ssl;
listen [::]:{{ port }} ssl;
{% else %}
listen {{ port }};
listen [::]:{{ port }};
{% endif %}
server_name