Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated WASM mime type from Nginx config #117

Merged
merged 2 commits into from
Dec 11, 2024
Merged

Remove duplicated WASM mime type from Nginx config #117

merged 2 commits into from
Dec 11, 2024

Conversation

stephdl
Copy link
Contributor

@stephdl stephdl commented Dec 10, 2024

Eliminate the duplicated MIME type entry for WASM in the Nginx configuration to streamline the settings.

NethServer/dev#7206

remove the warning

Dec 10 18:24:28 R1.rocky9.org nextcloud-nginx[35832]: 2024/12/10 17:24:28 [warn] 1#1: duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/nginx.conf:16
Dec 10 18:24:28 R1.rocky9.org nextcloud-nginx[35832]: nginx: [warn] duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/nginx.conf:16

wasm is already included in /etc/nginx/mime.types and loaded at this line

/ # grep -srni 'wasm' /etc/nginx/
/etc/nginx/mime.types:55:    application/wasm                                 wasm;
/etc/nginx/nginx.conf:167:        location ~ \.(?:css|js|mjs|svg|gif|ico|jpg|png|webp|wasm|tflite|map|ogg|flac)$ {

@stephdl stephdl self-assigned this Dec 10, 2024
@stephdl stephdl merged commit e63997c into main Dec 11, 2024
4 checks passed
@stephdl stephdl deleted the sdl-7206 branch December 11, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants