Bionova PBX nginx config and cert script (use docker-prxy nginx to serve ACME requests directly to PBX and redirect PBX UCP without external IP
Deployment
- Copy pbx.voloshanenko.com.conf to nginx-data/conf.d
- Add next entry to crontab (crontab -e) 0 * * * * cd /home/docker-proxy-companion && /bin/bash get_pbx_certificate.sh > /var/log/get_pbx_certificate.log
- Add next strings to /etc/rc.local cd /home/docker-proxy-companion && /bin/bash get_pbx_certificate.sh > /var/log/get_pbx_certificate.log
- Run script once
- Restart docker-compose #docker-compose restart