nginx: It's now possible to customise the https port.
This commit is contained in:
parent
1f7d7ac082
commit
54155b9672
|
@ -187,7 +187,11 @@ server {
|
|||
|
||||
{% if item.ssl_enabled %}
|
||||
server {
|
||||
{% if item.https_port is defined %}
|
||||
listen {{ item.https_port }} {{ nginx_ssl_type }};
|
||||
{% else %}
|
||||
listen {{ https_port | default('443') }} {{ nginx_ssl_type }};
|
||||
{% endif %}
|
||||
server_name {{ item.server_name }} {% if item.serveraliases is defined %}{{ item.serveraliases }}{% endif %};
|
||||
|
||||
{% if item.access_log is defined %}
|
||||
|
|
Loading…
Reference in New Issue