Posted By: frewty on March 31, 2015, 10:09 am |
Hi,
I'm trying to redirect my website to https://www. I have ngnix as default server with proxy apache2. Any help would be appreciated Thanks, Anthony |
Posted By: divij on March 31, 2015, 2:04 pm | Post: 1 |
Hi,
Sir you can try the following configuration: server { listen 80; server_name my.domain.com; return 301 https://$server_name$request_uri; } |
Posted By: frewty on March 31, 2015, 2:48 pm | Post: 2 |
Which file does this need putting in please? |