# Phase 1: HTTP only — use before Let's Encrypt certs exist. # After certbot, replace with bilhej.nginx.conf (includes HTTPS). server { listen 80; server_name bilhej.se www.bilhej.se; location /.well-known/acme-challenge/ { root /var/www/certbot; } location / { return 301 https://$host$request_uri; } }