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
1213server {
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