Merge pull request #222923 from oddlama/fix-nginx-duplicate-mime

nixos/nginx: fix warning about duplicate mime entry
This commit is contained in:
K900 2023-04-09 14:58:39 +03:00 committed by GitHub
commit c29ccca1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ let
# Mime.types values are taken from brotli sample configuration - https://github.com/google/ngx_brotli
# and Nginx Server Configs - https://github.com/h5bp/server-configs-nginx
# "text/html" is implicitly included in {brotli,gzip,zstd}_types
compressMimeTypes = [
"application/atom+xml"
"application/geo+json"
@ -55,7 +56,6 @@ let
"text/calendar"
"text/css"
"text/csv"
"text/html"
"text/javascript"
"text/markdown"
"text/plain"