Posts by Paul • 1 point
1 post
-
-1
votes2
answers337
viewsA: How to force HTTP redirect to HTTPS on NGINX
Hello, I was able to redirect to https using the condition below inside /etc/nginx/sites-enabled/default server { ... if ($scheme = http) { return 301 https://$host$request_uri; } }…