mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2026-07-08 17:42:32 +02:00
Adjustments for standard-base
https://github.com/linuxserver/docker-swag/pull/169 https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/84
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
## Version 2022/02/24
|
||||
## Version 2022/09/08
|
||||
# In order to use this location block you need to edit the default file one folder up and comment out the / location as well as the "~ \.php$" location
|
||||
# tested with the official wordpress docker image
|
||||
|
||||
@@ -7,11 +7,10 @@ location / {
|
||||
#auth_basic "Restricted";
|
||||
#auth_basic_user_file /config/nginx/.htpasswd;
|
||||
|
||||
# enable the next two lines for ldap auth, also customize and enable ldap.conf in the default conf
|
||||
#auth_request /auth;
|
||||
#error_page 401 =200 /ldaplogin;
|
||||
# enable for ldap auth (requires ldap-server.conf in the server block)
|
||||
#include /config/nginx/ldap-location.conf;
|
||||
|
||||
# enable for Authelia, also enable authelia-server.conf in the default site config
|
||||
# enable for Authelia (requires authelia-server.conf in the server block)
|
||||
#include /config/nginx/authelia-location.conf;
|
||||
|
||||
include /config/nginx/proxy.conf;
|
||||
@@ -21,4 +20,4 @@ location / {
|
||||
set $upstream_proto http;
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user