Hi,
I’ve done 2.1.1 update and after restarting peertube I’ve got nginx error linked to permission and get a white page in navigator.
nginx error log example:
[error] 837#837: *602 open() “/var/www/peertube/peertube-latest/client/dist/fr-FR/runtime-es2015.2e411f54962f4c630b19.js” failed (13: Permission denied), client: 192.168.1.65, server: 192.168.1.59, request: “GET /client/fr-FR/runtime-es2015.2e411f54962f4c630b19.js HTTP/1.1”, host: “monplaisirtube.ddns.net”
I haven’t anything changed in nginx configuration. Peertube is running behind a reverse proxy.
What is new in 2.1.1 update which can lead to this error and how to fix it?
Commented this nginx block fixed my issue…
Bypass PeerTube for performance reasons. Could be removed
location ~ ^/client/(.*.(js|css|png|svg|woff2|otf|ttf|woff|eot))$ {
add_header Cache-Control “public, max-age=31536000, immutable”;
alias /var/www/peertube/peertube-latest/client/dist/$1;
}