Force HTTPS redirect nginx

Permanent redirect all HTTP traffic to HTTPS

server { listen 80; return 301 https://$host$request_uri; }
more nginx all 15 commands →