11 lines
214 B
Text
11 lines
214 B
Text
server {
|
|
listen 80;
|
|
|
|
root /var/www/html;
|
|
index index.html;
|
|
location / {
|
|
# First attempt to serve request as file, then
|
|
# as directory, then fall back to displaying a 404.
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|