bbc87ee730
HTTP to HTTPS automatic redirection when SSL is created and enabled in a site.
9 lines
171 B
Plaintext
9 lines
171 B
Plaintext
# WebinolySSLredirectStart - HTTP to HTTPS Redirect
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
#server_name;
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
# WebinolySSLredirectEnd
|