keycloak: enable authelia interstitial

This commit is contained in:
Lukáš Kucharczyk 2021-06-20 19:39:46 +02:00
parent 3d06cf48b8
commit f73272ac91
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 3 additions and 0 deletions

View File

@ -13,8 +13,11 @@ server {
add_header X-XSS-Protection "1; mode=block"; add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff"; add_header X-Content-Type-Options "nosniff";
include /etc/nginx/snippets/authelia-endpoint.conf;
location / { location / {
proxy_pass http://$keycloak:8080; proxy_pass http://$keycloak:8080;
include /etc/nginx/snippets/authelia-auth.conf
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;