Skip to content

Commit 80ea2dc

Browse files
MiKombackportbot[bot]
authored andcommitted
Add mp4 and webm to nginx config
Mp4 is used by the firstrun plugin. Without these being mentioned in this section, the firstrun movie isn't shown and the first run modal dialog apparently can't be closed. Webm added for completeness as there are files like this in firstrun assets. Signed-off-by: Miłosz Kosobucki <milosz@kosobucki.pl>
1 parent 78ea8b1 commit 80ea2dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin_manual/installation/nginx-root.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ server {
171171
}
172172

173173
# Serve static files
174-
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
174+
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac|mp4|webm)$ {
175175
try_files $uri /index.php$request_uri;
176176
# HTTP response headers borrowed from Nextcloud `.htaccess`
177177
add_header Cache-Control "public, max-age=15778463$asset_immutable";

admin_manual/installation/nginx-subdir.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ server {
168168
}
169169

170170
# Serve static files
171-
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
171+
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac|mp4|webm)$ {
172172
try_files $uri /nextcloud/index.php$request_uri;
173173
# HTTP response headers borrowed from Nextcloud `.htaccess`
174174
add_header Cache-Control "public, max-age=15778463$asset_immutable";

0 commit comments

Comments
 (0)