From 28c469c9f06b7125a28c97db2e4ddeb1dcad7cd6 Mon Sep 17 00:00:00 2001 From: ralf Date: Fri, 2 Dec 2022 16:54:30 +0100 Subject: [PATCH] missing OpenId Connect autodiscovery block --- doc/docker/nginx.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/docker/nginx.conf b/doc/docker/nginx.conf index be802d0c49..0190b8e490 100644 --- a/doc/docker/nginx.conf +++ b/doc/docker/nginx.conf @@ -130,6 +130,12 @@ server { location ~ ^(/principals/users/.*)$ { return 301 $redirectscheme://$host/egroupware/groupdav.php$1; } + # OpenID Connect autodiscovery + location = /.well-known/openid-configuration { + fastcgi_pass fpm; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME /usr/share/egroupware/openid/well-known-configuration.php; + } # Nginx does NOT use index for OPTIONS requests breakng WebDAV # for Windows, which sends OPTIONS / and stalls on Nginx 405 response! # This also redirects all requests to root to EGroupware. @@ -177,4 +183,4 @@ server { # proxy_set_header Connection "upgrade"; # proxy_set_header Host $http_host; #} -} +} \ No newline at end of file