Update nginx.conf
Some checks failed
Gitea Actions Deploy / deploy (push) Has been cancelled

This commit is contained in:
Andros Fenollosa 2024-06-24 22:18:17 +02:00 committed by GitHub
parent 418842bb90
commit a6a15b50e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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