Update default.conf.template - adding mime types support
Without mime types,enabled Nginx services files as text/plain. This is not supported eg. in the Firefox does not load CSS files with wrong Content-Type header. This caused stopped to work GraphQL plugin. Signed-off-by: Vity <vity@vity.cz>
This commit is contained in:
@@ -6,6 +6,7 @@ server {
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
location / {
|
||||
include /etc/nginx/mime.types;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
try_files $uri /index.html;
|
||||
|
||||
Reference in New Issue
Block a user