Skip to content

Commit 0d05c37

Browse files
Merge pull request #44 from staticfloat/patch-1
Listen on IPv6 when redirecting HTTP -> HTTPS
2 parents 1f82537 + 3462efd commit 0d05c37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/nginx_conf.d/redirector.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
server {
22
# Listen on plain old HTTP and catch any hostname for redirect to HTTPS
33
listen 80 default_server;
4+
listen [::]:80 default_server;
45

56
# Pass this particular URL off to the certbot server for it to be able to
67
# authenticate with letsencrypt and get the HTTPS certificates.

0 commit comments

Comments
 (0)