View Single Post
  #1  
Old 20th March 2013, 05:21
joey3002 joey3002 is offline
Junior Member
 
Join Date: Jan 2010
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default force ssl for website

I am trying to force https for a site whenever someone goes to the http of the site.

I am running nginx, I also have ispconfig 3.0.5.1

I have tried:
return 301 https://www.mysite.com$request_uri;

however, that just goes into an endless loop

Thanks
Reply With Quote
Sponsored Links