Remove authelia site-conf

A proxy-conf is already included
This commit is contained in:
Eric Nemchik 2023-02-05 17:14:34 -06:00
parent 0d92109b68
commit 9e7ef6154d
2 changed files with 0 additions and 35 deletions

View File

@ -1,32 +0,0 @@
## Version 2023/02/01 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx/site-confs/authelia.conf.sample
# make sure that your dns has a cname set for authelia
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name authelia.*;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app authelia;
set $upstream_port 9091;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
location ~ (/authelia)?/api/verify {
include /config/nginx/resolver.conf;
set $upstream_app authelia;
set $upstream_port 9091;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}

View File

@ -13,9 +13,6 @@ fi
if [[ ! -f /config/nginx/authelia-server.conf ]]; then
cp /defaults/nginx/authelia-server.conf.sample /config/nginx/authelia-server.conf
fi
if [[ ! -f /config/nginx/site-confs/authelia.conf ]]; then
cp /defaults/nginx/site-confs/authelia.conf.sample /config/nginx/site-confs/authelia.conf
fi
# copy old ldap config file to new location
if [[ -f /config/nginx/ldap.conf ]] && [[ ! -f /config/nginx/ldap-server.conf ]]; then