View Single Post
  #1  
Old 30th November 2012, 23:27
Dodge Dodge is offline
Junior Member
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default [ISP3/Nginx] https only site

Hey there,

i just installed ISP3 on my new Server(Debian6) and so far everything is running fine, but while setting up my sites, i came across a small problem.

I want one of my sites https only. http requests should be redirected to https. https works without problems, bit i cant find a way to redirect http to https or disable http for that site at least.

i allready tried to use the isp redirect settings for my domain with the result of an endles redirect
i even tried to add a redirect block with the config option to add custom directives to nginx vhost config but that does not work as the block would be after the actual vhost block and so never matched as the block itself matches :/


so: is there a way to disable http or redirect http -> https?


thanks in advance
Reply With Quote
Sponsored Links