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

Commit cc148d9

Browse files
authored
Merge pull request #346 from linuxserver/httpredirect
Mark https redirect block as default server
2 parents 2ab6600 + c120eb0 commit cc148d9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
257257

258258
## Versions
259259

260+
* **01.08.19:** - Mark https redirect block as default_server (effective only for new installs).
260261
* **31.07.19:** - Create GeoIP2 databse (libmaxminddb) during container start if it doesn't exist.
261262
* **30.07.19:** - Support main domain via duckdns validation.
262263
* **29.07.19:** - Enable http to https redirect by default (effective only for new installs).

readme-vars.yml

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ app_setup_nginx_reverse_proxy_block: ""
126126

127127
# changelog
128128
changelogs:
129+
- { date: "01.08.19:", desc: "Mark https redirect block as default_server (effective only for new installs)." }
129130
- { date: "31.07.19:", desc: "Create GeoIP2 databse (libmaxminddb) during container start if it doesn't exist." }
130131
- { date: "30.07.19:", desc: "Support main domain via duckdns validation." }
131132
- { date: "29.07.19:", desc: "Enable http to https redirect by default (effective only for new installs)." }

root/defaults/default

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Version 2019/07/29 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default
1+
## Version 2019/08/01 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default
22

33
# redirect all traffic to https
44
server {
5-
listen 80;
6-
listen [::]:80;
5+
listen 80 default_server;
6+
listen [::]:80 default_server;
77
server_name _;
88
return 301 https://$host$request_uri;
99
}

0 commit comments

Comments
 (0)