From d35ab2c065b1007db4e3bfae2f70a2f2ffb3eda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Thu, 16 Nov 2023 16:23:47 +0100 Subject: [PATCH 1/2] Adjust nginx configuration for .ogg and .flac files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- admin_manual/installation/nginx-root.conf.sample | 2 +- admin_manual/installation/nginx-subdir.conf.sample | 2 +- admin_manual/release_notes/upgrade_to_27.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin_manual/installation/nginx-root.conf.sample b/admin_manual/installation/nginx-root.conf.sample index 4269286fe..7cc66c1f8 100644 --- a/admin_manual/installation/nginx-root.conf.sample +++ b/admin_manual/installation/nginx-root.conf.sample @@ -165,7 +165,7 @@ server { } # Serve static files - location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ { + location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map|ogg|flac)$ { try_files $uri /index.php$request_uri; add_header Cache-Control "public, max-age=15778463, $asset_immutable"; access_log off; # Optional: Don't log access to assets diff --git a/admin_manual/installation/nginx-subdir.conf.sample b/admin_manual/installation/nginx-subdir.conf.sample index b9ced16c8..ec9f54382 100644 --- a/admin_manual/installation/nginx-subdir.conf.sample +++ b/admin_manual/installation/nginx-subdir.conf.sample @@ -163,7 +163,7 @@ server { } # Serve static files - location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map)$ { + location ~ \.(?:css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite|map|ogg|flac)$ { try_files $uri /nextcloud/index.php$request_uri; add_header Cache-Control "public, max-age=15778463, $asset_immutable"; access_log off; # Optional: Don't log access to assets diff --git a/admin_manual/release_notes/upgrade_to_27.rst b/admin_manual/release_notes/upgrade_to_27.rst index 3ce1d4cd4..17ddeec91 100644 --- a/admin_manual/release_notes/upgrade_to_27.rst +++ b/admin_manual/release_notes/upgrade_to_27.rst @@ -16,4 +16,4 @@ Nextcloud 27 exposes the :ref:`system address book`. Restri Web server configuration ------------------------ -* The recommended :ref:`nginx configuration` changed as Nextcloud now supports module javascript with the ``.mjs`` extension, make sure to add this extension to the list of static files. +* The recommended :ref:`nginx configuration` changed as Nextcloud now supports module javascript with the ``.mjs`` and audio files with ``.ogg`` / ``.flac`` extension, make sure to add these extensions to the list of static files. From fa67cffe898ee4e7b41fea1c2ee8ac54fd3dbb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Thu, 16 Nov 2023 16:54:30 +0100 Subject: [PATCH 2/2] Add note about .ogg/.flac to upgrade 28 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- admin_manual/release_notes/upgrade_to_28.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin_manual/release_notes/upgrade_to_28.rst b/admin_manual/release_notes/upgrade_to_28.rst index 99838c997..785a93d80 100644 --- a/admin_manual/release_notes/upgrade_to_28.rst +++ b/admin_manual/release_notes/upgrade_to_28.rst @@ -16,4 +16,9 @@ Beginning with Nextcloud 28, the monitoring endpoint no longer provides informat You can still ask the monitoring endpoint to show new app updates by using the URL parameter skipApps=false. However, please do not check this endpoint too often. -https://github.com/nextcloud/serverinfo#api \ No newline at end of file +https://github.com/nextcloud/serverinfo#api + +Web server configuration +------------------------ + +* The recommended :ref:`nginx configuration` changed as Nextcloud Talk now serves audio files with ``.ogg`` / ``.flac`` extension, make sure to add these extensions to the list of static files. \ No newline at end of file