nginx_site: Allow to run site in custom port
This commit is contained in:
parent
72736c8b13
commit
fd69bcdec0
2 changed files with 8 additions and 3 deletions
|
@ -14,8 +14,8 @@ upstream {{ nginx_site_name }} {
|
|||
}
|
||||
{% endif %}
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
listen {{ nginx_site_port | default('443') }} ssl;
|
||||
listen [::]:{{ nginx_site_port | default('443') }} ssl;
|
||||
http2 on;
|
||||
http3 off;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue