Skip to content

Commit 6a5cdca

Browse files
Merge pull request #45 from staticfloat/patch-1
Add `reuseport` to redirector `listen` statements
2 parents 0d05c37 + d0fe804 commit 6a5cdca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nginx_conf.d/redirector.conf

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

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

0 commit comments

Comments
 (0)