Skip to content

Commit 44fde0e

Browse files
dragonishsharevb
andauthored
fix(nginx): add comprehensive MIME type mappings (#348)
Include default /etc/nginx/mime.types --------- Co-authored-by: sharevb <sharevb@gmail.com>
1 parent e2c2c7c commit 44fde0e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nginx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ server {
1414
add_header Cross-Origin-Embedder-Policy require-corp;
1515
#add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http: https: blob:; style-src 'self' 'unsafe-inline' https: http:; img-src 'self' data: blob: https: http:; connect-src data: blob: https: http:; font-src 'self' https: http:; object-src 'none'; base-uri 'self'; form-action 'self';";
1616

17+
include /etc/nginx/mime.types;
1718
types {
1819
application/javascript js mjs;
1920
}

0 commit comments

Comments
 (0)