mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* OpenID Connect: autodiscovery support via /.well-known/openid-configuration
This commit is contained in:
parent
c00c6f9e07
commit
7ac70ac8ee
@ -104,6 +104,12 @@ server {
|
|||||||
location ~ ^(/principals/users/.*)$ {
|
location ~ ^(/principals/users/.*)$ {
|
||||||
return 301 $scheme://$http_host/egroupware/groupdav.php$1;
|
return 301 $scheme://$http_host/egroupware/groupdav.php$1;
|
||||||
}
|
}
|
||||||
|
# OpenID Connect autodiscovery
|
||||||
|
location = /.well-known/openid-configuration {
|
||||||
|
fastcgi_pass fpm;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME /var/www/egroupware/openid/well-known-configuration.php;
|
||||||
|
}
|
||||||
# Nginx does NOT use index for OPTIONS requests breakng WebDAV
|
# Nginx does NOT use index for OPTIONS requests breakng WebDAV
|
||||||
# for Windows, which sends OPTIONS / and stalls on Nginx 405 response!
|
# for Windows, which sends OPTIONS / and stalls on Nginx 405 response!
|
||||||
# This also redirects all requests to root to EGroupware.
|
# This also redirects all requests to root to EGroupware.
|
||||||
|
@ -130,6 +130,12 @@ server {
|
|||||||
location ~ ^(/principals/users/.*)$ {
|
location ~ ^(/principals/users/.*)$ {
|
||||||
return 301 $redirectscheme://$host/egroupware/groupdav.php$1;
|
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
|
# Nginx does NOT use index for OPTIONS requests breakng WebDAV
|
||||||
# for Windows, which sends OPTIONS / and stalls on Nginx 405 response!
|
# for Windows, which sends OPTIONS / and stalls on Nginx 405 response!
|
||||||
# This also redirects all requests to root to EGroupware.
|
# This also redirects all requests to root to EGroupware.
|
||||||
|
Loading…
Reference in New Issue
Block a user