From a80e6725587aea61f036145357fe568bedded17e 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..0c56aa9 100644 --- a/templates/application/config.php.erb +++ b/templates/application/config.php.erb @@ -105,7 +105,8 @@ $CONFIG = array ( 'legacy_auth' => false, ), ), - 'overwrite.cli.url' => 'https://<%= @site_name %>', + 'overwrite.cli.url' => 'https://<%= @site_name %>/', + 'htaccess.RewriteBase' => '/', 'overwritehost' => '<%= @site_name %>', 'overwriteprotocol' => 'https', 'passwordsalt' => '<%= @passwordsalt %>',