From 2a273c649dd49c410fe02a4c078d8e25aa583114 Mon Sep 17 00:00:00 2001 From: Lars Delhage Date: Thu, 13 Feb 2025 13:45:10 +0100 Subject: [PATCH] Enable pretty URLs (https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html\#pretty-urls) --- templates/application/config.php.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/application/config.php.erb b/templates/application/config.php.erb index cb30831..1db97bb 100644 --- a/templates/application/config.php.erb +++ b/templates/application/config.php.erb @@ -64,6 +64,7 @@ $CONFIG = array ( 'gss.mode' => '<%= @gss_mode %>', 'gss.user.discovery.module' => '\\OCA\\GlobalSiteSelector\\UserDiscoveryModules\\ManualUserMapping', 'gss.username_format' => 'sanitize', + 'htaccess.RewriteBase' => '/', 'installed' => true, 'instanceid' => '<%= @instanceid %>', 'integrity.check.disabled' => true, @@ -105,7 +106,7 @@ $CONFIG = array ( 'legacy_auth' => false, ), ), - 'overwrite.cli.url' => 'https://<%= @site_name %>', + 'overwrite.cli.url' => 'https://<%= @site_name %>/', 'overwritehost' => '<%= @site_name %>', 'overwriteprotocol' => 'https', 'passwordsalt' => '<%= @passwordsalt %>', -- 2.45.3