nextcloud-documentation/admin_manual
MichaIng 3321bf2a4d nginx: fix response headers for assets
Nginx resets all response headers in a location block, if it contains any "add_header" directive. When setting the "Cache-Control" header for static assets, this was originally worked around by using the "expires" directive instead. https://github.com/nextcloud/documentation/pull/8083 however added the "immutable" flag for assets with "v=" query parameter and broke all other response headers for assets that way.

This commit fixes this by re-adding all reponse headers explicitly for those assets. Originally those doubled code was removed thanks to using "expires", but I see no way to have both: the "immutable" flag as well as avoiding doubled headers via "expires" directive.

Additionally, this commit avoids the trailing comma and space in the Cache-Control header for assets without "v=" query parameter, and adds sets the wasm MIME type in a cleaner/more consistent way together with js/mjs, and rephrases the broken comment sentence.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-02-09 16:29:38 +01:00
..
ai Update admin_manual/ai/index.rst 2023-07-24 09:15:05 +00:00
configuration_database Merge pull request #9510 from nextcloud/bugfix/noid/improve-utf8-manual 2023-01-02 17:25:53 +01:00
configuration_files Update sharing settings 2023-10-25 05:59:17 +00:00
configuration_mimetypes docs: add repair-filecache when mimetype has been updated 2023-12-02 20:18:26 +00:00
configuration_server Fix(email_configuration): Fix conflicting debug mode sections 2024-02-08 09:27:25 -05:00
configuration_user doc(ldap): describe how to promote a group 2023-12-05 12:54:18 +00:00
file_workflows fix(workflows): Explain that autotagging does not apply when creating storages 2023-11-02 09:39:13 +00:00
gdpr Fixed several typos and grammar errors 2022-10-25 07:32:25 +02:00
groupware [admin_manual] Add documentaion for thread summary 2023-10-20 08:18:17 +00:00
images fix confusion around mail settings and improve layout a bit 2023-06-19 09:36:02 +00:00
installation nginx: fix response headers for assets 2024-02-09 16:29:38 +01:00
issues fixup 2023-06-15 22:50:19 +00:00
maintenance Correct the version of owncloud allowing migration 2024-01-26 15:21:19 +01:00
office Update admin_manual/office/troubleshooting.rst 2023-08-10 19:24:37 +00:00
reference fix: menu entry called differently across collabora versions 2023-07-06 12:16:59 +00:00
release_notes update email changelog of NC 26 2024-02-01 18:57:43 +00:00
apps_management.rst chore: Fix internal links after stable27 branch-off 2023-05-22 11:49:00 +02:00
conf.py Fix l10n build for user manual 2020-09-09 21:25:25 +02:00
contents.rst Admin docs: Add a section on AI features 2023-07-24 09:15:05 +00:00
index.rst chore: Fix internal links after stable27 branch-off 2023-05-22 11:49:00 +02:00
make.bat
Makefile Move to python3 2020-01-20 14:29:31 +01:00
release_notes.rst chore(release_notes): Use subpages per release 2023-05-26 19:42:54 +02:00
release_schedule.rst feat(adminmanual): Create critical changes section for admins 2023-05-26 19:42:53 +02:00