File: /var/lib/letsencrypt/backups/1690528762.2984083/amaiz_11
server {
server_name amaiz.foach.site;
root /var/www/amaiz/dist;
index index.html;
client_max_body_size 20M;
charset utf-8;
location / {
auth_basic "Unauthorized";
auth_basic_user_file /var/www/.htpasswd;
root /var/www/amaiz/dist;
#try_files $uri $uri/ /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;
location ~ /\.(?!well-known).* {
deny all;
}
listen 80;
}
#server {
# if ($host = ipsremont.foach.site) {
# return 301 https://$host$request_uri;
# } # managed by Certbot
# listen 80;
# server_name ipsremont.foach.site;
# return 404; # managed by Certbot
#}