nextcloud_on_docker
nextcloud_on_docker copied to clipboard
mp4, webm missing in nginx.conf location
Old regex results in missing videos.
See: https://help.nextcloud.com/t/first-run-wizard-video-does-not-play-http-302/75281 https://docs.nextcloud.com/server/18/admin_manual/installation/nginx.html?highlight=mp4|webm
fixed by changing:
location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap)$ {
try_files $uri /index.php$request_uri;
# Optional: Don't log access to other assets
access_log off;
}
to:
location ~ \.(?:png|html|ttf|ico|jpg|jpeg|bcmap|mp4|webm)$ {
try_files $uri /index.php$request_uri;
# Optional: Don't log access to other assets
access_log off;
}