Thread
:
[ISP3/Nginx] https only site
View Single Post
#
5
2nd December 2012, 11:59
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
Use this in the nginx Directives field:
Code:
if ($scheme != "https") { rewrite ^ https://$host$request_uri? permanent; }
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko