# initial nginx conf file needed when running certbot container the first time to generate ssl certs # replace with your DNS i.e.automatisch.lasthourhosting.org server { # nginx http port listen 80; listen [::]:80; server_name ; location / { # Forward to Automatisch site which is running on port 7757 proxy_pass http://main:7757; proxy_http_version 1.1; } location ~ /.well-known/acme-challenge/ { root /var/www/certbot; } }