server {
server_name bebroker.foach.site;
root /var/www/bebroker;
index index.html;
client_max_body_size 20M;
charset utf-8;
location / {
root /var/www/bebroker;
try_files $uri $uri.html $uri/index.html index.html;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /404.html;
listen 80; # managed by Certbot
}