mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-20 13:23:48 -07:00
Add authentik config lines and adjust comments
This commit is contained in:
parent
f7b1d157a0
commit
48f8a9950a
266 changed files with 2185 additions and 523 deletions
26
authentik.subdomain.conf.sample
Normal file
26
authentik.subdomain.conf.sample
Normal file
|
@ -0,0 +1,26 @@
|
|||
## Version 2023/02/05
|
||||
# make sure that your authentik container is named authentik-server
|
||||
# make sure that your dns has a cname set for authentik
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
server_name authentik.*;
|
||||
|
||||
include /config/nginx/ssl.conf;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
location / {
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app authentik-server;
|
||||
set $upstream_port 9443;
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue