ROOT_URL
in [[Section 3|Deploy-Rocket.Chat-without-docker#3-download-rocketchat]] above. This includes the https://
and leave off the port number. So instead of ROOT_URL=http://localhost:3000
use something like https://your_hostname.com
HTTP_FORWARDED_COUNT
Environment variable to the correct number of proxies in front of Rocket.Chat. If you are using snap there's a documentation how to do it here​/etc/nginx/conf.d/
and needs to have a discrete name ending in .conf
and nginx is installed using yum -y install nginx
./etc/nginx/certificate.key
chmod 400 /etc/nginx/certificate.key
/etc/nginx/certificate.crt
/etc/nginx/sites-enabled/default
or if you use nginx from docker /etc/nginx/conf.d/default.conf
and be sure to use your actual hostname in lieu of the sample hostname "your_hostname.com" below.service nginx restart
ROOT_URL
in [[Section 3|Deploy-Rocket.Chat-without-docker#3-download-rocketchat]] above. This includes the https://
and leave off the port number. So instead of ROOT_URL=http://localhost:3000
use something like https://your_hostname.com
/etc/ssl/private/chat.domain.com.key
chmod 400 /etc/ssl/private/chat.domain.com.key
/etc/ssl/certs/chat.domain.com.crt
/etc/ssl/certs/intermediate.ca.pem
/etc/apache2/sites-enabled/rocketchat.conf
and be sure to use your actual hostname in lieu of the sample hostname "your_hostname.com" below.service apache2 restart
curl https://getcaddy.com | bash
/etc/caddy/Caddyfile