Closed anmol26s closed 7 years ago
I observed if we open monica.domain.tld it opens in http. To force https by default I added
if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }
Thanks!
I observed if we open monica.domain.tld it opens in http. To force https by default I added
Force https
if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; }