Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Redirect option?



Threaded Mode | Print  

 Redirect option? (3 Replies, Read 8478 times)
frewty
Group: Member
Post Group: Newbie
Posts: 26
Status:
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
IP: --   

Redirect option?
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Hi,

Sir you can try the following configuration:

server {
      listen        80;
      server_name    my.domain.com;
      return        301 https://$server_name$request_uri;
}
IP: --   

Redirect option?
frewty
Group: Member
Post Group: Newbie
Posts: 26
Status:
Which file does this need putting in please?
IP: --   

Redirect option?
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
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.



IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 2:05 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.050