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

Commit cac244e

Browse files
authored
add http2, update version
1 parent 5707891 commit cac244e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

root/defaults/default

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
@@ -11,8 +11,8 @@
1111

1212
# main server block
1313
server {
14-
listen 443 ssl default_server;
15-
listen [::]:443 ssl default_server;
14+
listen 443 ssl http2 default_server;
15+
listen [::]:443 ssl http2 default_server;
1616

1717
root /config/www;
1818
index index.html index.htm index.php;
@@ -56,8 +56,8 @@ server {
5656
# sample reverse proxy config without url base, but as a subdomain "cp", ip and port same as above
5757
# notice this is a new server block, you need a new server block for each subdomain
5858
#server {
59-
# listen 443 ssl;
60-
# listen [::]:443 ssl;
59+
# listen 443 ssl http2;
60+
# listen [::]:443 ssl http2;
6161
#
6262
# root /config/www;
6363
# index index.html index.htm index.php;
@@ -80,8 +80,8 @@ server {
8080
# ldap-auth container has to be running and the /config/nginx/ldap.conf file should be filled with ldap info
8181
# notice this is a new server block, you need a new server block for each subdomain
8282
#server {
83-
# listen 443 ssl;
84-
# listen [::]:443 ssl;
83+
# listen 443 ssl http2;
84+
# listen [::]:443 ssl http2;
8585
#
8686
# root /config/www;
8787
# index index.html index.htm index.php;

0 commit comments

Comments
 (0)