body injection feature and add authelia to documentation

This commit is contained in:
bunkerity
2021-06-29 16:36:24 +02:00
parent c894c8370e
commit cec47f3a75
4 changed files with 46 additions and 5 deletions

View File

@@ -0,0 +1 @@
sub_filter '</body>' '{{ INJECT_BODY }}</body>';

View File

@@ -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