You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
514 B
30 lines
514 B
server {
|
|
listen 80;
|
|
server_name {{ nginx_server_name }};
|
|
root {{ nginx_web_root }};
|
|
|
|
index index.html;
|
|
charset utf-8;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html$is_args$args;
|
|
}
|
|
|
|
location = /favicon.ico {
|
|
access_log off;
|
|
log_not_found off;
|
|
}
|
|
|
|
location = /robots.txt {
|
|
access_log off;
|
|
log_not_found off;
|
|
}
|
|
|
|
location ~ /\.(?!well-known).* {
|
|
deny all;
|
|
}
|
|
|
|
location ~ /\.ht {
|
|
deny all;
|
|
}
|
|
} |