server { listen [::]:80; listen 80; server_name _; location / { return 301 https://$host$request_uri; } include snippets/letsencrypt.conf; }