Update nginx.conf

This commit is contained in:
Andros Fenollosa
2024-06-24 22:18:17 +02:00
committed by GitHub
parent 41b0d402aa
commit 5ca8dd4cbd

View File

@@ -4,16 +4,11 @@ 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;
}
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; }
}