mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
fix ldap admin page
This commit is contained in:
parent
0f446f15df
commit
ce982e3d7a
1 changed files with 4 additions and 0 deletions
|
@ -93,6 +93,10 @@ location ^~ __PATH__/ {
|
||||||
# then Nginx will encounter an infinite rewriting loop when it prepends
|
# then Nginx will encounter an infinite rewriting loop when it prepends
|
||||||
# `/nextcloud/index.php` to the URI, resulting in a HTTP 500 error response.
|
# `/nextcloud/index.php` to the URI, resulting in a HTTP 500 error response.
|
||||||
location ~ \.php(?:$|/) {
|
location ~ \.php(?:$|/) {
|
||||||
|
# Required for legacy support
|
||||||
|
# https://github.com/nextcloud/documentation/pull/2197#issuecomment-721432337
|
||||||
|
# This line fix the ldap admin page
|
||||||
|
rewrite ^__PATH__/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) __PATH__/index.php$request_uri;
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
set $path_info $fastcgi_path_info;
|
set $path_info $fastcgi_path_info;
|
||||||
try_files $fastcgi_script_name =404;
|
try_files $fastcgi_script_name =404;
|
||||||
|
|
Loading…
Add table
Reference in a new issue