Page 1 of 1

Caddy and SSL

Posted: Wed Jan 31, 2018 1:04 pm
by dotMastaz
Hello,

I just install Rocket.Chat with Snap in the same server of vestacp and that's work great !!
https://rocket.chat/docs/installation/m ... ntu/snaps/

But if want want to talk to this server (rocket.chat) with ssl, i must use caddy.
https://rocket.chat/docs/installation/m ... s/autossl/

In my Caddyfile i edit with :
example-domain.com
proxy / localhost:3000 {
websocket
transparent
}
I Restart, but rocket.chat server is unreachable in https ?
error : ERR_SSL_PROTOCOL_ERROR

Any ideas ?
Thank you

Re: Caddy and SSL

Posted: Wed Jan 31, 2018 1:25 pm
by Phogo
Hi,

Caddy is a standalone web server, so I don't think its possible to get it working with vetsta. https://caddyserver.com/

You might be better doing it this way, https://rocket.chat/docs/installation/m ... rse-proxy/