mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-21 05:43:45 -07:00
add authelia subdomain conf and add auth support
This commit is contained in:
parent
14eb015b45
commit
eb5510831b
140 changed files with 713 additions and 0 deletions
23
authelia.subdomain.conf.sample
Normal file
23
authelia.subdomain.conf.sample
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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;
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
set $upstream_app authelia;
|
||||
set $upstream_port 9091;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue