nextcloud_on_docker icon indicating copy to clipboard operation
nextcloud_on_docker copied to clipboard

mp4, webm missing in nginx.conf location

Open Panoptis opened this issue 4 years ago • 0 comments

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;
    }

Panoptis avatar Nov 25 '20 23:11 Panoptis