Re: [snap] Redirect to https

2018-05-22 Thread Gregory Collins
Test the "rqIsSecure" field of the request -- if it's not set you can issue a redirect. If you're using snap-core alone just wrap your main site action, if using snaplets you can call wrapSite to wrap the handler,

[snap] Redirect to https

2018-05-19 Thread Decebal Popa
Hi guys, I guess is better to leave it here, i also tried on freenode but i had to disconnect. So, i have an app that is using letsencrypt certificates and all goes well only if i browse to https://example.ex otherwise the traffic is not redirected to https My question is how can i obtain