server { listen 80; server_name {{DOMAIN}} www.{{DOMAIN}}; return 301 https://$host$request_uri; }