Use the following to redirect to https on nginx.
server {
listen 80;
server_name my-domain.com;
return 301 https://$server_name$request_uri;
}
Use the following to redirect to https on nginx.
server {
listen 80;
server_name my-domain.com;
return 301 https://$server_name$request_uri;
}
© Really Simple Plugins
CoC 70461155
Attoomweg 6B 9743 AK (NL)