Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **31.05.20:** - Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update).
* **23.05.20:** - Add support for Authelia.
* **15.05.20:** - Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval.
* **10.05.20:** - Added support for fail2ban deny statements.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ app_setup_nginx_reverse_proxy_block: ""

# changelog
changelogs:
- { date: "31.05.20:", desc: "Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update)." }
- { date: "23.05.20:", desc: "Add support for Authelia." }
- { date: "15.05.20:", desc: "Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval." }
- { date: "10.05.20:", desc: "Added support for fail2ban deny statements." }
Expand Down
5 changes: 1 addition & 4 deletions root/defaults/authelia-location.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Version 2020/05/23 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-location.conf
## Version 2020/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-location.conf
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
# Make sure that the authelia configuration.yml has 'path: "authelia"' defined

Expand All @@ -8,7 +8,4 @@ auth_request_set $user $upstream_http_remote_user;
auth_request_set $groups $upstream_http_remote_groups;
proxy_set_header Remote-User $user;
proxy_set_header Remote-Groups $groups;
#if your authelia is set up with 'path: "authelia"', you don't need to modify anything
error_page 401 =302 https://$http_host/authelia/?rd=$target_url;
#if your authelia is set up without a path, comment the line above, uncomment the line below and adjust as necessary
#error_page 401 =302 https://authelia.YOURDOMAIN.com/?rd=$target_url;
6 changes: 3 additions & 3 deletions root/defaults/authelia-server.conf
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Version 2020/05/23 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-server.conf
## Version 2020/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-server.conf
# Make sure that your authelia container is in the same user defined bridge network and is named authelia

location /authelia {
location ^~ /authelia {
include /config/nginx/proxy.conf;
resolver 127.0.0.11 valid=30s;
set $upstream_authelia authelia;
proxy_pass http://$upstream_authelia:9091;
}

location /authelia/api/verify {
location = /authelia/api/verify {
internal;
resolver 127.0.0.11 valid=30s;
set $upstream_authelia authelia;
Expand Down