Thread
:
Force https
View Single Post
#
7
10th May 2012, 20:25
wichu
Junior Member
Join Date: Apr 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, my solution would only work for Apache, but after a quick search I found this:
http://serverfault.com/questions/250...o-ssl-in-nginx
Code:
rewrite ^ https://$server_name$request_uri? permanent;
wichu
View Public Profile
Send a private message to wichu
Find all posts by wichu