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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sks-devel mailing list
Sks-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to