Update 2.1.1 and nginx error

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:, server:, 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?


I can add that POST commands appear in nginx access.log.

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;

It seems nginx cannot access to your files. Check folder permissions/ownership.

I’ve done chown -R peertube:peertube /var/www/peertube to no avail.