• [^] # Re: Nginx/nextcloud/php

    Posté par . En réponse au message [Résolu] Problème NextCloud nginx. Évalué à 2.

    Bon, après avoir lancé occ update, qui a fait le boulot semble-t-il correctement, remis le site en maintenance off, je n’ai toujours pas d’affichage. Juste une erreur 403 :’(

    $ tail -f /var/log/nginx/error.log
    2021年03月21日 17:27:56 [error] 29018#29018: *525 directory index of "/home/nextcloud/nextcloud/" is forbidden, client: 86.215.87.34, server: host.domain.org, request: "GET / HTTP/1.1", host: "host.domain.org"
    2021年03月21日 17:30:25 [error] 29018#29018: *527 directory index of "/home/nextcloud/nextcloud/" is forbidden, client: 86.215.87.34, server: host.domain.org, request: "GET / HTTP/1.1", host: "host.domain.org"
    2021年03月21日 17:38:36 [error] 29018#29018: *544 directory index of "/home/nextcloud/nextcloud/" is forbidden, client: 86.215.87.34, server: host.domain.org, request: "GET / HTTP/1.1", host: "host.domain.org"
    

    et

    $ tail -f /var/log/nginx/access.log
    ip.ip.ip.ip - [21/Mar/2021:17:38:36 +0100] "GET / HTTP/1.1" 403 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
    

    Pourtant, si je fais un sudo -u www-data bash j’accède à tous les fichiers dans le répertoire nextcloud.

    J’ai fait un chown -R www-data:www-data /var/www juste au cas où, mais ça n’a rien changé.