To enable SEO url in next cloud, first make sure your web server have mod_rewrite module enabled.
Edit config.php file
vi config/config.php
add following
'overwrite.cli.url' => 'https://yourdomain.com/', 'htaccess.RewriteBase' => '/',
overwrite.cli.url may already there, in that case, don’t add it again.
Now run
sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess
See NextCloud
Leave a Reply