nginx config: listen on ipv6 as well (#604)

Without this change, nginx will not consider this server configuration for traffic received over ipv6.
This commit is contained in:
Kent Ross
2026-07-08 08:27:30 -07:00
committed by GitHub
parent bb3208afe2
commit f63ff56d24

View File

@@ -926,6 +926,7 @@ upstream netbird_relay {
server {
listen 80;
listen [::]:80;
server_name netbird.example.com;
location / {
return 301 https://$host$request_uri;
@@ -934,6 +935,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name netbird.example.com;
ssl_certificate /path/to/fullchain.pem;