From a6a15b50e4d77118c573cfe581894e6bf28dba4c Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Mon, 24 Jun 2024 22:18:17 +0200 Subject: [PATCH] Update nginx.conf --- nginx.conf | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/nginx.conf b/nginx.conf index 216a1e2..95c9c82 100644 --- a/nginx.conf +++ b/nginx.conf @@ -3,17 +3,12 @@ events {} http { server { listen 80 default_server; - server_name _; - - location / { - root /usr/share/nginx/html; - index index.html; - } - - location /img { - include /etc/nginx/mime.types; - alias /usr/share/nginx/html/img; - } + server_name _; + root /usr/share/nginx/html; + include /etc/nginx/mime.types; + index index.html; + gzip on; + gzip_disable "msie6"; location = /favicon.ico { access_log off; log_not_found off; } }