BetterCrypto/Applied-Crypto-Hardening — pull request #73 by oe1rfc (2014-10-05 19:09:35+00:00)
Title: nginx/https-redirect: redirect to request domain, ditch regex

* no regex needed here, hence use return instead of rewrite
* use $host instead of $server_name to redirect to requested (sub) domain