Skip to content

Commit b2d5642

Browse files
committed
added ipv6 support
1 parent e3281bf commit b2d5642

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

data/nginx/conf.d/stats.example.com.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# --- Redirect HTTP -> HTTPS ---
22
server {
33
listen 80;
4+
listen [::]:80;
45
server_name stats.example.com;
56
return 301 https://$host$request_uri;
67
}
78

89
# --- HTTPS vHost: GoAccess Live Report ---
910
server {
1011
listen 443 ssl;
12+
listen [::]:443 ssl;
1113
http2 on;
1214
server_name stats.example.com;
1315

0 commit comments

Comments
 (0)