# Replace chat.example.com with your actual domain before installing. # HTTP certificate bootstrap only; the application is not exposed here. server { listen 80; listen [::]:80; server_name chat.example.com; location ^~ /.well-known/acme-challenge/ { root /var/www/letsencrypt; try_files $uri =404; } location / { return 404; } }