diff --git a/confs/site/authelia-proxy.conf b/confs/site/authelia-upstream.conf
similarity index 100%
rename from confs/site/authelia-proxy.conf
rename to confs/site/authelia-upstream.conf
diff --git a/confs/site/reverse-proxy.conf b/confs/site/reverse-proxy.conf
index 2575c7d..e1b55ae 100644
--- a/confs/site/reverse-proxy.conf
+++ b/confs/site/reverse-proxy.conf
@@ -9,7 +9,7 @@ location {{ url }} {% raw %}{{% endraw %}
etag off;
proxy_pass {{ host }};
{% if USE_AUTHELIA == "yes" %}
- include {{ NGINX_PREFIX }}authelia-upstream.conf;
+ include {{ NGINX_PREFIX }}authelia-auth-request.conf;
{% endif %}
include {{ NGINX_PREFIX }}reverse-proxy-headers.conf;
{% if ws == "yes" %}
diff --git a/examples/authelia/docker-compose.yml b/examples/authelia/docker-compose.yml
index 3bbff8c..0aeefc2 100644
--- a/examples/authelia/docker-compose.yml
+++ b/examples/authelia/docker-compose.yml
@@ -54,7 +54,7 @@ services:
- app1.example.com_REMOTE_PHP=myapp1
- app1.example.com_REMOTE_PHP_PATH=/app
- app2.example.com_SERVE_FILES=no
- - app2.example.com_USE_REVERSE_PROXY=myapp2
+ - app2.example.com_USE_REVERSE_PROXY=yes
- app2.example.com_REVERSE_PROXY_URL=/
- app2.example.com_REVERSE_PROXY_HOST=http://myapp2
diff --git a/examples/authelia/web-files/app2.example.com/index.php b/examples/authelia/web-files/app2.example.com/index.php
new file mode 100644
index 0000000..4ad9fab
--- /dev/null
+++ b/examples/authelia/web-files/app2.example.com/index.php
@@ -0,0 +1,10 @@
+
";
+
+echo "REMOTE_USER = " . $_SERVER['HTTP_REMOTE_USER'] . "
";
+echo "REMOTE_GROUPS = " . $_SERVER['HTTP_REMOTE_GROUPS'] . "
";
+echo "REMOTE_NAME = " . $_SERVER['HTTP_REMOTE_NAME'] . "
";
+echo "REMOTE_EMAIL = " . $_SERVER['HTTP_REMOTE_EMAIL'] . "
";
+
+?>