• [^] # Re: Pas la bonne piste ?

    Posté par . En réponse au message [Nextcloud] : Augmenter le débit descendant d'un serveur. Évalué à 1.

    Malgré tous, pourquoi ils mettent en config DAV off ?

    https://www.c-rieger.de/nextcloud-16-installation-guide-debian-apache2/

    <IfModule mod_ssl.c>
    <VirtualHost *:443>
    SSLEngine on
    SSLOptions +StrictRequire
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" vhost_combined
    LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
    ServerAdmin mail@dedyn.io
    DocumentRoot /var/www/html/nextcloud
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    ServerName your.dedyn.io
    SSLCertificateFile /etc/letsencrypt/live/your.dedyn.io/fullchain.pem
    SSLCACertificateFile /etc/letsencrypt/live/your.dedyn.io/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/your.dedyn.io/privkey.pem
    <Directory /var/www/html/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    <IfModule mod_dav.c>
    Dav off
    </IfModule>
    SetEnv HOME /var/www/html/nextcloud
    SetEnv HTTP_HOME /var/www/html/nextcloud
    </Directory>
    <IfModule mod_headers.c>
    Header always set Strict-Transport-Security "max-age=15768000; preload"
    Header set Referrer-Policy "strict-origin-when-cross-origin"
    Header set X-Content-Type-Options "nosniff"
    #Header always set X-Frame-Options "SAMEORIGIN"
    </IfModule>
    </VirtualHost>
    SSLProtocol -all +TLSv1.3 +TLSv1.2
    SSLCipherSuite TLS-CHACHA20-POLY1305-SHA256:TLS-AES-256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384
    SSLHonorCipherOrder on
    SSLCompression off
    SSLSessionTickets off
    SSLUseStapling on
    SSLStaplingResponderTimeout 5
    SSLStaplingReturnResponderErrors off
    SSLStaplingCache shmcb:/var/run/ocsp(128000)
    SSLOpenSSLConfCmd Curves X448:secp521r1:secp384r1:prime256v1
    SSLOpenSSLConfCmd ECDHParameters secp384r1
    SSLOpenSSLConfCmd DHParameters "/etc/ssl/certs/dhparam.pem"
    </IfModule>