mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 14:01:42 +03:00
fix(nginx): add comprehensive MIME type mappings (#348)
Include default /etc/nginx/mime.types --------- Co-authored-by: sharevb <sharevb@gmail.com>
This commit is contained in:
1 parent
93bed09c78
commit
fe5a33f484
1 file changed
+1
@@ -14,6 +14,7 @@ server {
|
||||
add_header Cross-Origin-Embedder-Policy require-corp;
|
||||
#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';";
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
application/javascript js mjs;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user