docs/nginx.conf

21 lines
355 B
Nginx Configuration File
Raw Normal View History

2024-06-24 17:28:30 +02:00
events {}
http {
server {
listen 80 default_server;
2024-06-24 17:42:09 +02:00
server_name _;
2024-06-24 17:28:30 +02:00
location / {
2024-06-24 17:42:09 +02:00
root /var/www/html;
index index.html;
2024-06-24 17:28:30 +02:00
}
2024-06-24 17:30:48 +02:00
2024-06-24 17:28:30 +02:00
location /img {
2024-06-24 17:42:09 +02:00
include /etc/nginx/mime.types;
2024-06-24 17:28:30 +02:00
alias /var/www/html/img;
}
location = /favicon.ico { access_log off; log_not_found off; }
}
}