-
-
Save Ma27/2abcef55d1bb4d7f4e95d1eeb6203482 to your computer and use it in GitHub Desktop.
Nextcloud 20 LDAP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix | |
index bad1bd9c767..f3a2e55ec59 100644 | |
--- a/nixos/modules/services/web-apps/nextcloud.nix | |
+++ b/nixos/modules/services/web-apps/nextcloud.nix | |
@@ -575,7 +575,7 @@ in { | |
"~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)".extraConfig = '' | |
return 404; | |
''; | |
- ${if major < 20 then "~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|oc[ms]-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" else "~ \\.php(?:$|/)"} = { | |
+ /*${if major < 20 then*/ "~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|oc[ms]-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" /*else "~ \\.php(?:$|/)"}*/ = { | |
priority = 500; | |
extraConfig = '' | |
include ${config.services.nginx.package}/conf/fastcgi.conf; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment