From e4c3a05055e840b3e0d30f76a1fc4e4f5188135a Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 27 Feb 2024 16:07:55 -0500 Subject: rewrite broken authelia consent param --- .../files/europa/https.owncloud.internal.simponic.xyz.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'roles/private/files') diff --git a/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf b/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf index 1321199..9789ea4 100644 --- a/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf +++ b/roles/private/files/europa/https.owncloud.internal.simponic.xyz.conf @@ -29,4 +29,17 @@ server { proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; } + + location /.well-known/openid-configuration { + proxy_pass http://127.0.0.1:24734/index.php/apps/openidconnect/config; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $server_name; + proxy_buffering off; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; + add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always; + } } -- cgit v1.2.3-70-g09d2