tags:

views:

23

answers:

0

Hello,

I'm setting up a new nginx box however I can't figure out why my nginx isn't starting when I use this:

    server {
    listen      443;
    server_name mysite.com; // https://mysite.com
    rewrite ^(.*)   https://mynewsite.com.com$1 permanent; // new site
}

Anyone help me out?