Force https
Wayne E. Seguin
wayneeseguin at gmail.com
Sun Mar 4 23:39:23 MSK 2007
Igor,
I see that your assistance is as excellent as your software!
Could this be added to the wiki's examples?
It might benefit people (even though it IS simple).
Thanks for writing such an awesome server,
~Wayne
On Mar 04, 2007, at 14:56 , Igor Sysoev wrote:
> On Sat, Mar 03, 2007 at 07:45:15AM -0500, Wayne E. Seguin wrote:
>
>> Can someone either tell me or point me to the correct documentation
>> on how to force a subdomain to use https only?
>>
>> Eg. Client goes to http and gets forced to https.
>>
>> Also,
>>
>> Would it be useful for me to write up my config file showing how
>> authentication is done with https?
>> I did have some confusion with it myself.
>
> server {
> listen 80;
> rewrite ^(.*) https://site.com$1 redirect;
> }
>
> server {
> listen 443;
> ...
> }
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
More information about the nginx
mailing list