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

Commit 813610d

Browse files
authored
Merge pull request #471 from linuxserver/master-3.12
Rebasing to Alpine 3.12, change ldap login endpoint
2 parents f7bc5ad + 42e6fa5 commit 813610d

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/nginx:3.11
1+
FROM lsiobase/nginx:3.12
22

33
# set version label
44
ARG BUILD_DATE

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/nginx:arm64v8-3.11
1+
FROM lsiobase/nginx:arm64v8-3.12
22

33
# set version label
44
ARG BUILD_DATE

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/nginx:arm32v7-3.11
1+
FROM lsiobase/nginx:arm32v7-3.12
22

33
# set version label
44
ARG BUILD_DATE

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ docker create \
8080
-e STAGING=false `#optional` \
8181
-p 443:443 \
8282
-p 80:80 `#optional` \
83-
-v </path/to/appdata/config>:/config \
83+
-v /path/to/appdata/config:/config \
8484
--restart unless-stopped \
8585
linuxserver/letsencrypt
8686
```
@@ -115,7 +115,7 @@ services:
115115
- EXTRA_DOMAINS= #optional
116116
- STAGING=false #optional
117117
volumes:
118-
- </path/to/appdata/config>:/config
118+
- /path/to/appdata/config:/config
119119
ports:
120120
- 443:443
121121
- 80:80 #optional
@@ -295,6 +295,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
295295

296296
## Versions
297297

298+
* **01.06.20:** - Rebasing to alpine 3.12, change ldap login address to `/ldaplogin` to avoid clashes (existing users need to manually update).
298299
* **31.05.20:** - Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update).
299300
* **23.05.20:** - Add support for Authelia.
300301
* **15.05.20:** - Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval.

readme-vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ param_env_vars:
3737
- { env_var: "VALIDATION", env_value: "http", desc: "Letsencrypt validation method to use, options are `http`, `dns` or `duckdns` (`dns` method also requires `DNSPLUGIN` variable set) (`duckdns` method requires `DUCKDNSTOKEN` variable set, and the `SUBDOMAINS` variable must be either empty or set to `wildcard`)." }
3838
param_usage_include_vols: true
3939
param_volumes:
40-
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "All the config files including the webroot reside here." }
40+
- { vol_path: "/config", vol_host_path: "/path/to/appdata/config", desc: "All the config files including the webroot reside here." }
4141
param_usage_include_ports: true
4242
param_ports:
4343
- { external_port: "443", internal_port: "443", port_desc: "Https port" }
@@ -127,6 +127,7 @@ app_setup_nginx_reverse_proxy_block: ""
127127

128128
# changelog
129129
changelogs:
130+
- { date: "01.06.20:", desc: "Rebasing to alpine 3.12, change ldap login address to `/ldaplogin` to avoid clashes (existing users need to manually update)." }
130131
- { date: "31.05.20:", desc: "Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update)." }
131132
- { date: "23.05.20:", desc: "Add support for Authelia." }
132133
- { date: "15.05.20:", desc: "Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval." }

root/defaults/default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ server {
9999
# location / {
100100
# # the next two lines will enable ldap auth along with the included ldap.conf in the server block
101101
# auth_request /auth;
102-
# error_page 401 =200 /login;
102+
# error_page 401 =200 /ldaplogin;
103103
#
104104
# include /config/nginx/proxy.conf;
105105
# resolver 127.0.0.11 valid=30s;

root/defaults/ldap.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Version 2020/03/13 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/ldap.conf
1+
## Version 2020/06/02 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/ldap.conf
22
## this conf is meant to be used in conjunction with our ldap-auth image: https://github.com/linuxserver/docker-ldap-auth
33
## see the heimdall example in the default site config for info on enabling ldap auth
44
## for further instructions on this conf, see https://github.com/nginxinc/nginx-ldap-auth
55

6-
location /login {
6+
location /ldaplogin {
77
resolver 127.0.0.11 valid=30s;
88
set $upstream_auth_app ldap-auth;
99
set $upstream_auth_port 9000;

0 commit comments

Comments
 (0)