Add IPv6 support for nostr.kosmos.org

This commit is contained in:
Râu Cao 2024-10-16 12:37:47 +02:00
parent 0726e58f7c
commit 7949fd067c
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -5,8 +5,9 @@ upstream _strfry {
}
server {
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>443 ssl http2;
server_name <%= @domain %>;
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>443 ssl http2;
listen [::]:443 ssl http2;
access_log "/var/log/nginx/<%= @domain %>.access.log";
error_log "/var/log/nginx/<%= @domain %>.error.log";