Skip to content

modernifyco/reverse_proxy_template

Repository files navigation

reverse_proxy_template

nginx config

nginxconfig.io

Cron jobs

Reference 1 Reference 2 Reference 3

Docker container removal

Something more than SSL renewal time

30 */12 * * * bash /path/to/reverse_proxy_template/bin/remove-old-containers.sh > /path/to/reverse_proxy_template/app/log/remove-old-containers.log

SSL renewal

Every 12 hours recommended

* */12 * * * bash /path/to/reverse_proxy_template/bin/renew-ssl.sh > /path/to/reverse_proxy_template/app/log/renew-ssl.log

nginx reload

Every 6 hours recommended

* */6 * * * bash /path/to/reverse_proxy_template/bin/restart-nginx.sh > /path/to/reverse_proxy_template/app/log/restart-nginx.log