mercure

How to run Mercure in production

早过忘川 提交于 2019-12-11 18:25:55
问题 I'm trying to run Mercure on Symfony within a production env. [1st problem] It seems that I need to keep my ssh connection active in order to keep mercure running. Also, I would like to be able to run multiple instance of Mercure (one per vhost) [2nd problem] As my vhost is already using HTTPS, I'm using the following command to run Mercure: JWT_KEY='4e2da03eda9acdfdb9253ab0f8f9e4011706fd6ba6d8293d9727e833752fb15b' CERT_FILE='/etc/letsencrypt/live/my-project.my-domain.com/fullchain.pem' KEY