Summary of the issue you are facing:
[Nextcloud 32.0.5, Debian 13, Apache 2.4.66, PHP 8.4
Impossible de supprimer le Warning sur OCS après une installation nouvelle.
Test avec l’index.html montre bien les infos. Mais j’ai toujours l’erreur]
[Nextcloud 32.0.5, Debian 13, Apache 2.4.66, PHP 8.4
Impossible de supprimer le Warning sur OCS après une installation nouvelle.
Test avec l’index.html montre bien les infos. Mais j’ai toujours l’erreur]
{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“REMOVED SENSITIVE VALUE”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “32.0.5.0”,
“overwrite.cli.url”: “https://REMOVED*** SENSITIVE VALUE***”,
“overwriteprotocol”: “https”,
“htaccess.RewriteBase”: “/”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“default_phone_region”: “FR”,
“maintenance_window_start”: 1,
“memcache.local”: “\OC\Memcache\APCu”,
“memcache.locking”: “\OC\Memcache\Redis”,
“memcache.distributed”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“port”: 6379
},
“maintenance”: false,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_sendmailmode”: “smtp”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauth”: true,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “465”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“mail_smtpsecure”: “ssl”
}
}
<VirtualHost *:80>
ServerName REMOVE
DocumentRoot /var/www/html/nextcloud
# Redirection permanente vers HTTPS
Redirect permanent / https://REMOVE/
# Logs HTTP
ErrorLog ${APACHE_LOG_DIR}/nextcloud-http-error.log
CustomLog ${APACHE_LOG_DIR}/nextcloud-http-access.log combined
# VirtualHost HTTPS avec HSTS
ServerName REMOVE
DocumentRoot /var/www/html/nextcloud
# Configure les logs
ErrorLog ${APACHE_LOG_DIR}/nextcloud-https-error.log
CustomLog ${APACHE_LOG_DIR}/nextcloud-https-access.log combined
# Activer SSL
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/REMOVE/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/REMOVE/privkey.pem
# Activer HSTS (180 jours)
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
# Sécurité supplémentaire (recommandé pour Nextcloud)
Header always set X-Content-Type-Options "nosniff"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-XSS-Protection "1; mode=block"
Header always set Referrer-Policy "no-referrer"
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
Alias /ocs-provider /var/www/html/nextcloud/ocs-provider
<Directory /var/www/html/nextcloud/ocs-provider>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
</Directory>