My Nginx SSL config
Run this: openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 (takes two or three minutes on a 1GB DO droplet) HTTP /etc/nginx/sites-enabled/fodor.conf - Redirect all traffic to HTTPS server { listen 80; server_name fodor.xyz; rewrite ^ https://$server_name$request_uri? permanent; } HTTPS /etc/nginx/…