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

Commit b5f9b05

Browse files
authored
Merge pull request #468 from linuxserver/authelia-confs
tweak authelia confs to supersede regex
2 parents 1f86133 + 4fe3770 commit b5f9b05

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

README.md

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

295295
## Versions
296296

297+
* **31.05.20:** - Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update).
297298
* **23.05.20:** - Add support for Authelia.
298299
* **15.05.20:** - Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval.
299300
* **10.05.20:** - Added support for fail2ban deny statements.

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: "31.05.20:", desc: "Tweak Authelia confs (existing users can delete `authelia-server.conf` and `authelia-location.conf`, and restart to update)." }
129130
- { date: "23.05.20:", desc: "Add support for Authelia." }
130131
- { date: "15.05.20:", desc: "Remove `php7-pecl-imagick` due to upstream issues. Add support for `Geoip2` auto db retrieval." }
131132
- { date: "10.05.20:", desc: "Added support for fail2ban deny statements." }

root/defaults/authelia-location.conf

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2020/05/23 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-location.conf
1+
## Version 2020/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-location.conf
22
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
33
# Make sure that the authelia configuration.yml has 'path: "authelia"' defined
44

@@ -8,7 +8,4 @@ auth_request_set $user $upstream_http_remote_user;
88
auth_request_set $groups $upstream_http_remote_groups;
99
proxy_set_header Remote-User $user;
1010
proxy_set_header Remote-Groups $groups;
11-
#if your authelia is set up with 'path: "authelia"', you don't need to modify anything
1211
error_page 401 =302 https://$http_host/authelia/?rd=$target_url;
13-
#if your authelia is set up without a path, comment the line above, uncomment the line below and adjust as necessary
14-
#error_page 401 =302 https://authelia.YOURDOMAIN.com/?rd=$target_url;

root/defaults/authelia-server.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
## Version 2020/05/23 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-server.conf
1+
## Version 2020/05/31 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/authelia-server.conf
22
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
33

4-
location /authelia {
4+
location ^~ /authelia {
55
include /config/nginx/proxy.conf;
66
resolver 127.0.0.11 valid=30s;
77
set $upstream_authelia authelia;
88
proxy_pass http://$upstream_authelia:9091;
99
}
1010

11-
location /authelia/api/verify {
11+
location = /authelia/api/verify {
1212
internal;
1313
resolver 127.0.0.11 valid=30s;
1414
set $upstream_authelia authelia;

0 commit comments

Comments
 (0)