17 lines
287 B
Nginx Configuration File
17 lines
287 B
Nginx Configuration File
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;
|
|
}
|
|
}
|