Skip to content

Commit b60a593

Browse files
committed
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 <[email protected]>
1 parent e30a3b5 commit b60a593

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
@@ -183,7 +183,7 @@ server {
183183
}
184184

185185
# Serve static files
186-
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {
186+
location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac|mp4|webm)$ {
187187
try_files $uri /index.php$request_uri;
188188
# HTTP response headers borrowed from Nextcloud `.htaccess`
189189
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
@@ -182,7 +182,7 @@ server {
182182
}
183183

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

0 commit comments

Comments
 (0)