media/misc/nginx.conf

17 lines
287 B
Nginx Configuration File
Raw Normal View History

server {
listen 80;
listen [::]:80;
root /var/www/media.metanohi.name/site;
index index.html;
server_name media.metanohi.name;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}