Missing common audio mime types in Nginx config #31

Closed
opened 2026-04-05 20:25:19 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @nicopowa on 10/21/2025

CloudPanel version(s) affected

2.5.2

Description

Default Nginx configuration misses a few common audio mime types.

How to reproduce

Upload a FLAC file to htdocs and navigate to URL.
Most browsers should start playback using the built-in player.
File gets downloaded instead because of application/octet-stream mime type.

Possible Solution

Add audio mime types to /etc/nginx/mime.types

audio/flac flac;
audio/ogg opus;
audio/aac aac;
audio/wav wav;

Additional Context

No response

*Originally created by @nicopowa on 10/21/2025* ### CloudPanel version(s) affected 2.5.2 ### Description Default Nginx configuration misses a few common audio mime types. ### How to reproduce Upload a FLAC file to htdocs and navigate to URL. Most browsers should start playback using the built-in player. File gets downloaded instead because of `application/octet-stream` mime type. ### Possible Solution Add audio mime types to `/etc/nginx/mime.types` `audio/flac flac;` `audio/ogg opus;` `audio/aac aac;` `audio/wav wav;` ### Additional Context _No response_
MrUnknownDE added the enhancementenhancement labels 2026-04-05 20:25:19 +02:00
Sign in to join this conversation.