mirror of
https://github.com/linuxserver/docker-swag.git
synced 2025-02-02 17:44:49 -05:00
remove workaround for authelia CVE-2021-32637
fixed upstream a long time ago
This commit is contained in:
parent
c9394cd08f
commit
2f4c1fed51
@ -1,4 +1,4 @@
|
|||||||
## Version 2022/08/20 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authelia-server.conf.sample
|
## Version 2022/08/22 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/authelia-server.conf.sample
|
||||||
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
|
# Make sure that your authelia container is in the same user defined bridge network and is named authelia
|
||||||
|
|
||||||
location ^~ /authelia {
|
location ^~ /authelia {
|
||||||
@ -11,9 +11,6 @@ location ^~ /authelia {
|
|||||||
|
|
||||||
location = /authelia/api/verify {
|
location = /authelia/api/verify {
|
||||||
internal;
|
internal;
|
||||||
if ($request_uri ~ [^a-zA-Z0-9_+-=\!@$%&*?~.:#'\;\(\)\[\]]) {
|
|
||||||
return 401;
|
|
||||||
}
|
|
||||||
|
|
||||||
set $upstream_app authelia;
|
set $upstream_app authelia;
|
||||||
set $upstream_port 9091;
|
set $upstream_port 9091;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user