Forcing SSL (https)
Wayne E. Seguin
wayneeseguin at gmail.com
Wed Aug 29 19:03:37 MSD 2007
Igor,
This does not preserve the subdomain:
server {
listen 80;
server_name mydomain.tld;
rewrite ^(.*) https://mydomain.tld$1 redirect;
}
What is the best way to redirect http => https while preserving
subdomains?
Thank you very much!
~Wayne
s///g
Wayne E. Seguin
Sr. Systems Architect & Systems Administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070829/25c5acf2/attachment.html>
More information about the nginx
mailing list