Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 38a1b52

Browse files
authored
Merge pull request #242 from nemchik/ipv6-new
Add ipv6 support
2 parents 01a7063 + f9fa195 commit 38a1b52

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ This will *ask* Google et al not to index and list your site. Be careful with th
141141

142142
## Versions
143143

144+
+ **19.12.18:** Add ipv6 and http/2 support to default site config.
144145
+ **08.12.18:** Had to remove cert renewal during container start due to certbot's new undocumented "feature" of up to 8 minute random delay.
145146
+ **03.12.18:** Fix silly bug resetting the duckdns token.
146147
+ **02.12.18:** Add dns validation support for ovh.

root/defaults/default

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
## Version 2018/09/12 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default
1+
## Version 2018/12/05 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default
22

33
# listening on port 80 disabled by default, remove the "#" signs to enable
44
# redirect all traffic to https
55
#server {
66
# listen 80;
7+
# listen [::]:80;
78
# server_name _;
89
# return 301 https://$host$request_uri;
910
#}
1011

1112
# main server block
1213
server {
13-
listen 443 ssl default_server;
14+
listen 443 ssl http2 default_server;
15+
listen [::]:443 ssl http2 default_server;
1416

1517
root /config/www;
1618
index index.html index.htm index.php;
@@ -22,7 +24,7 @@ server {
2224

2325
# all ssl related config moved to ssl.conf
2426
include /config/nginx/ssl.conf;
25-
27+
2628
# enable for ldap auth
2729
#include /config/nginx/ldap.conf;
2830

@@ -54,7 +56,8 @@ server {
5456
# sample reverse proxy config without url base, but as a subdomain "cp", ip and port same as above
5557
# notice this is a new server block, you need a new server block for each subdomain
5658
#server {
57-
# listen 443 ssl;
59+
# listen 443 ssl http2;
60+
# listen [::]:443 ssl http2;
5861
#
5962
# root /config/www;
6063
# index index.html index.htm index.php;
@@ -69,15 +72,16 @@ server {
6972
# auth_basic "Restricted";
7073
# auth_basic_user_file /config/nginx/.htpasswd;
7174
# include /config/nginx/proxy.conf;
72-
# proxy_pass http://192.168.1.50:5050;
75+
# proxy_pass http://192.168.1.50:5050;
7376
# }
7477
#}
7578

7679
# sample reverse proxy config for "heimdall" via subdomain, with ldap authentication
7780
# ldap-auth container has to be running and the /config/nginx/ldap.conf file should be filled with ldap info
7881
# notice this is a new server block, you need a new server block for each subdomain
7982
#server {
80-
# listen 443 ssl;
83+
# listen 443 ssl http2;
84+
# listen [::]:443 ssl http2;
8185
#
8286
# root /config/www;
8387
# index index.html index.htm index.php;

0 commit comments

Comments
 (0)