mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-13 16:34:27 +00:00
nixos/nginx: add application/javascript
to compressMimeTypes
Although deprecated, this MIME type is still used by various applications and web frameworks which are potentially proxied by nginx. Examples: - Apps based on ASP.NET Core - Apps based on http.server (Python)
This commit is contained in:
parent
6bb4538e5d
commit
7ce5fa1a82
@ -35,6 +35,7 @@ let
|
||||
compressMimeTypes = [
|
||||
"application/atom+xml"
|
||||
"application/geo+json"
|
||||
"application/javascript" # Deprecated by IETF RFC 9239, but still widely used
|
||||
"application/json"
|
||||
"application/ld+json"
|
||||
"application/manifest+json"
|
||||
|
Loading…
Reference in New Issue
Block a user