File: /var/lib/letsencrypt/backups/1690528762.2984083/vormvift_17
server {
server_name vormvift.foach.site;
root /var/www/vormvift/build;
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/vormvift/build;
try_files $uri $uri/index.html $uri.html =404;
}
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 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/vormvift.foach.site/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/vormvift.foach.site/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = vormvift.foach.site) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name vormvift.foach.site;
listen 80;
return 404; # managed by Certbot
}