fix files showing the raw binary data?

This commit is contained in:
Lee 2023-07-04 17:46:31 +01:00
parent 41ea1378ef
commit efc46e56a8

View File

@ -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;