Compare commits
2
Commits
661730d7fe
...
778e844752
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
778e844752 | ||
|
|
b61546a53a |
+10
-2
@@ -18,10 +18,18 @@ server {
|
||||
# The image logs to files under /var/log/nginx; send access logs to the pod log instead
|
||||
access_log /dev/stdout main;
|
||||
|
||||
# Show the page's data and source files as text (in server context this replaces the inherited types)
|
||||
# Every file type the site build writes, declared here rather than left to the image's mime.types: with nosniff
|
||||
# (below) a browser refuses a script that is not served as JavaScript. The page's data and source files show as
|
||||
# text. Anything else falls back to the image's list.
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
text/plain yaml py;
|
||||
text/html html;
|
||||
application/javascript js mjs;
|
||||
application/json json;
|
||||
text/csv csv;
|
||||
text/css css;
|
||||
image/svg+xml svg;
|
||||
text/plain yaml py md txt;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
|
||||
Reference in New Issue
Block a user