I think my web server is not reading /var/www/nextcloud/.htaccess as it does not “/.well-known/caldav”
My /etc/httpd/conf.d/nextcloud-le-ssl.conf
<VirtualHost :80>
ServerName nc.timic.co.za
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.)$ https://%{HTTP_HOST}$1 [R=301,L]
ServerName nc.timix.co.za
ServerAdmin tkriel@gmail.com
DocumentRoot /var/www
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/nc.timix.co.za/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/nc.timix.co.za/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/nc.timix.co.za/chain.pem
Header always set strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
Is there a reason why my /var/www/nextcloud/.htaccess does not work?