Softaculous


Topic : Redirect option?


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?

Posted By: divij on April 1, 2015, 6:16 am | Post: 3
Hi,

file located at /usr/local/apps/nginx/etc/conf.d/webuzoVH.conf
This file rebuild every time you add or delete any domain.
After making the changes restart your web server.




Powered By AEF 1.0.8 © 2007-2008 Electron Inc.