15 lines
203 B
Plaintext
15 lines
203 B
Plaintext
server {
|
|
listen 80;
|
|
|
|
root /var/www/html/my-site;
|
|
index index.html index.htm;
|
|
|
|
server_name localhost;
|
|
|
|
location / {
|
|
default_type "text/html";
|
|
try_files $uri.html $uri $uri/ =404;
|
|
}
|
|
}
|
|
|