Skip to content

Commit 48f8a99

Browse files
committedFeb 5, 2023
Add authentik config lines and adjust comments
1 parent f7b1d15 commit 48f8a99

File tree

266 files changed

+2189
-527
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+2189
-527
lines changed
 

‎_template.subdomain.conf.sample

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
## Version 2022/09/08
1+
## Version 2023/02/05
22
# 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.
33
# REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for <tags> and replace them. Review other sample files to see how things are done.
44
# 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.
5-
# make sure that your dns has a cname set for <container_name> and that your <container_name> container is not using a base url
5+
# make sure that your <container_name> container is named <container_name>
6+
# make sure that your dns has a cname set for <container_name>
67

78
server {
89
listen 443 ssl;
@@ -20,6 +21,9 @@ server {
2021
# enable for Authelia (requires authelia-location.conf in the location block)
2122
#include /config/nginx/authelia-server.conf;
2223

24+
# enable for Authentik (requires authentik-location.conf in the location block)
25+
#include /config/nginx/authentik-server.conf;
26+
2327
location / {
2428
# enable the next two lines for http auth
2529
#auth_basic "Restricted";
@@ -31,6 +35,9 @@ server {
3135
# enable for Authelia (requires authelia-server.conf in the server block)
3236
#include /config/nginx/authelia-location.conf;
3337

38+
# enable for Authentik (requires authentik-server.conf in the server block)
39+
#include /config/nginx/authentik-location.conf;
40+
3441
include /config/nginx/proxy.conf;
3542
include /config/nginx/resolver.conf;
3643
set $upstream_app <container_name>;

‎_template.subfolder.conf.sample

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
## Version 2022/09/08
1+
## Version 2023/02/05
22
# 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.
33
# REMOVE THIS LINE BEFORE SUBMITTING: Look through this file for <tags> and replace them. Review other sample files to see how things are done.
44
# 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.
5-
# first go into <container_name> settings, under "General" set the URL Base to /<container_name>/ and restart the <container_name> container
5+
# make sure that your <container_name> container is named <container_name>
6+
# make sure that <container_name> is set to work with the base url /<container_name>/
7+
68

79
location /<container_name> {
810
return 301 $scheme://$host/<container_name>/;
@@ -19,6 +21,9 @@ location ^~ /<container_name>/ {
1921
# enable for Authelia (requires authelia-server.conf in the server block)
2022
#include /config/nginx/authelia-location.conf;
2123

24+
# enable for Authentik (requires authentik-server.conf in the server block)
25+
#include /config/nginx/authentik-location.conf;
26+
2227
include /config/nginx/proxy.conf;
2328
include /config/nginx/resolver.conf;
2429
set $upstream_app <container_name>;

0 commit comments

Comments
 (0)