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:
Vity
2023-05-25 11:35:26 +02:00
committed by GitHub
parent 255ff286e2
commit f2692a4fae
@@ -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;