body injection feature and add authelia to documentation
This commit is contained in:
1
confs/site/inject-body.conf
Normal file
1
confs/site/inject-body.conf
Normal file
@@ -0,0 +1 @@
|
||||
sub_filter '</body>' '{{ INJECT_BODY }}</body>';
|
||||
@@ -166,8 +166,13 @@ server {
|
||||
|
||||
# authelia
|
||||
{% if USE_AUTHELIA == "yes" %}
|
||||
include {{ NGINX_PREFIX}}authelia-upstream.conf;
|
||||
include {{ NGINX_PREFIX}}authelia-auth-request.conf;
|
||||
include {{ NGINX_PREFIX }}authelia-upstream.conf;
|
||||
include {{ NGINX_PREFIX }}authelia-auth-request.conf;
|
||||
{% endif %}
|
||||
|
||||
# inject into body
|
||||
{% if INJECT_BODY != "" %}
|
||||
include {{ NGINX_PREFIX}}inject-body.conf;
|
||||
{% endif %}
|
||||
|
||||
# reverse proxy
|
||||
|
||||
Reference in New Issue
Block a user