15 lines
282 B
Text
15 lines
282 B
Text
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
|
|
root /var/www/your_domain/html;
|
|
index index.html index.htm index.nginx-debian.html;
|
|
|
|
server_name your_domain www.your_domain;
|
|
|
|
location / {
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|