mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-20 21:33:45 -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
|
@ -1,8 +1,10 @@
|
|||
## Version 2022/09/08
|
||||
## Version 2023/02/05
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: The structure of the file (all of the existing lines) should be kept as close as possible to this template.
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for <tags> and replace them. Review other sample files to see how things are done.
|
||||
# REMOVE THIS LINE BEFORE SUBMITTING: The comment lines at the top of the file (below this line) should explain any prerequisites for using the proxy such as DNS or app settings.
|
||||
# first go into <container_name> settings, under "General" set the URL Base to /<container_name>/ and restart the <container_name> container
|
||||
# make sure that your <container_name> container is named <container_name>
|
||||
# make sure that <container_name> is set to work with the base url /<container_name>/
|
||||
|
||||
|
||||
location /<container_name> {
|
||||
return 301 $scheme://$host/<container_name>/;
|
||||
|
@ -19,6 +21,9 @@ location ^~ /<container_name>/ {
|
|||
# enable for Authelia (requires authelia-server.conf in the server block)
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
# enable for Authentik (requires authentik-server.conf in the server block)
|
||||
#include /config/nginx/authentik-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
include /config/nginx/resolver.conf;
|
||||
set $upstream_app <container_name>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue