On Sat, Nov 7, 2009 at 20:37, Glen Lumanau <glen at lumanau.web.id> wrote: > I have a SSL set up on www.mydomain.com > > How can I redirect traffic on mydomain.com to https://www.mydomain.com? > server { > listen 443 default; Try port 80... server { listen 80; rewrite ^(.*) https://mydomain.com$1 permanent; }