2022-03-04から1日間の記事一覧

postgres pgpass

PostgreSQL, MySQLにパスワード入力なしで接続する方法 | TECHSCORE BLOG 2012https://www.postgresql.org/docs/13/libpq-pgpass.html

varnish cache with basic auth

sub vcl_hash { ... # This will allow Varnish to cache a site with basic auth. if (req.http.authorization) { hash_data(req.http.authorization); }https://github.com/phase2/docker-varnish/blob/4.0/root/etc/confd/templates/default.vcl.tmpl