[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sks-devel] Nginx. HKP and HKPS on same port
From: |
Christiaan de Die le Clercq |
Subject: |
[Sks-devel] Nginx. HKP and HKPS on same port |
Date: |
Tue, 19 May 2015 21:18:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
Hi all!
I just want to share something I use on my keyserver.
If you enable ssl (hkps) Nginx will automatically assume that the 11371
port is ssl.
However if you add this:
error_page 497 https://$host:$server_port$request_uri;
Then Nginx will redirect http requests to port 11371 to https requests
when the port is SSL.
That way you can have both on the same 11371 port!
Something worth sharing, have a nice day!
--
Kind regards,
Christiaan de Die le Clercq
Administrator of keys.techwolf12.nl
GPG: 0x9FB800372F2546D8
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Sks-devel] Nginx. HKP and HKPS on same port,
Christiaan de Die le Clercq <=