[erlang-questions] Cowboy: is it possible to detect that request is http and redirect to https?

Max Lapshin max.lapshin@REDACTED
Thu Feb 27 16:56:29 CET 2014


I've configured cowboy server to listen on port 443.

User is typing: http://server:443/  and see white screen.

Is it possible somehow to detect that it is plain http going to ssl port
and redirect it to https?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140227/1c342bc1/attachment.htm>


More information about the erlang-questions mailing list