From efc46e56a84e298578ecd65bffb39b74f183d4b7 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Tue, 4 Jul 2023 17:46:31 +0100 Subject: [PATCH] fix files showing the raw binary data? --- docker/nginx.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docker/nginx.conf b/docker/nginx.conf index 8195e13..642d6da 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -5,11 +5,20 @@ events { http { access_log /dev/stdout; error_log /dev/stdout; + + include mime.types; + default_type application/octet-stream; + + sendfile on; + tcp_nopush on; + tcp_nodelay on; + keepalive_timeout 15; + types_hash_max_size 4096; server { server_name _; listen 80; - + root /var/www/html; index index.html index.htm;