Linux Tips: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 48: Line 48:
# run Varnish as backend over PROXY; varnishd -a :80 -a localhost:6086,PROXY ..
# run Varnish as backend over PROXY; varnishd -a :80 -a localhost:6086,PROXY ..
write-proxy-v2 = on            # Write PROXY header
write-proxy-v2 = on            # Write PROXY header
</syntaxhighlight>
certbot-renew
certbot-renew.timer
:が無いので renew は自分で crontab に書く
<syntaxhighlight lang="cron" enclose="div">
00 04 25 * * /usr/bin/certbot renew && systemctl restart hitch
</syntaxhighlight>
</syntaxhighlight>