2016-06-01から1ヶ月間の記事一覧

rsyslog apache ログ集約

http://www.maruko2.com/mw/Apache/%E3%83%90%E3%83%BC%E3%83%81%E3%83%A3%E3%83%AB%E3%83%9B%E3%82%B9%E3%83%88%E3%81%AE%E3%83%AD%E3%82%B0%E3%82%92%E3%83%AA%E3%83%A2%E3%83%BC%E3%83%88%E3%81%AErsyslog%E3%81%AB%E9%9B%86%E7%B4%84%E3%81%99%E3%82%8B

rsyslog freebsd

制限するLinuxねた帳: rsyslog $AllowedSenderについてBSD-Style blocks will go away in rsyslog v7BSD-Style blocks will go away in rsyslog v7 syslog grep -v '^\s*#' /etc/syslog.conf *.err;kern.warning;auth.notice;mail.crit /dev/console *.notic…

vanish ログ

varnishncsa virtualhost ログ varnishncsaでホスト毎にログを保存する – cat /dev/random > /dev/null & varnishncsa -q "ReqHeader:Host ~ '^example.com$'" virtualhost用のvarnishncsa起動スクリプトhttps://github.com/kurita0/varnish4-freebsd/blob/m…

varnish backend health check

GETをHEADにする。Hostを入れる場合は request を使う backend server1 { # Define one backend .host = "127.0.0.1"; # IP or Hostname of backend .port = "80"; # Port Apache or whatever is listening .max_connections = 300; # That's it .probe = { …

varnish 4 https ssl nginx

https -> SSL Temination (nginx) -> Cache (varnish) -> web (nginx) http -> Cache (varnish) -> web (nginx)https://www.digitalocean.com/community/tutorials/how-to-configure-varnish-cache-4-0-with-ssl-termination-on-ubuntu-14-04 Varnish は HTT…

varnish virtual host

http://verticalprogramming.com/2013/09/15/varnish-virtual-host-boilerplate The "(req.http.host == "example1.com") " Pattern:http://stackoverflow.com/questions/3334023/configure-multiple-sites-with-varnish https://github.com/mattiasgeniar/v…