Make all nginx vhosts listen on IPv6

This commit is contained in:
Râu Cao
2023-04-04 15:10:23 +02:00
parent f36268e906
commit 7a1be33b7a
7 changed files with 7 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
add_header Strict-Transport-Security "max-age=15768000";
ssl_certificate <%= @ssl_cert %>;