webinoly/templates/template-site-sslredirect
Cristhian Martínez Ochoa bbc87ee730 https automatic redirection
HTTP to HTTPS automatic redirection when SSL is created and enabled in a site.
2018-02-17 17:00:57 -07:00

9 lines
171 B
Plaintext

# WebinolySSLredirectStart - HTTP to HTTPS Redirect
server {
listen 80;
listen [::]:80;
#server_name;
return 301 https://$host$request_uri;
}
# WebinolySSLredirectEnd