Update nginx.conf

This commit is contained in:
Andros Fenollosa
2024-06-24 17:44:46 +02:00
committed by GitHub
parent 382429d40a
commit 6e321eb985

View File

@@ -6,13 +6,13 @@ http {
server_name _; server_name _;
location / { location / {
root /var/www/html; root /usr/share/nginx/html;
index index.html; index index.html;
} }
location /img { location /img {
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
alias /var/www/html/img; alias /usr/share/nginx/html/img;
} }
location = /favicon.ico { access_log off; log_not_found off; } location = /favicon.ico { access_log off; log_not_found off; }