Jul 06
    Change language to:

I converted my nginx logformat to make sure I could keep using awstats to record my datatraffic etc. Since I needed to parse half a day of logging through Apache and then later through nginx, I needed to make sure the same formats where used. In Apache I configured the common logformat; which results in the following for nginx:

log_format main ‘$remote_addr - $remote_user [$time_local] “$request” ‘
‘$status $body_bytes_sent “$http_referer” ‘
‘”$http_user_agent” “$http_x_forwarded_for”‘;

I also created a couple of include files so that standard stuff is included for every vhost, without it requiring me to denote everything (which is quite a lot if you do it properly).

written by Remko \\ tags: , , , , , ,

Jul 01
    Change language to:

Today I made the step to move from Apache to nginx. While Apache had been serving me for ages, I think it’s time for something different. nginx does precisely what I need at this point, without dreaded much overweight that Apache has. All but two vhosts had been moved over to the nginx installation at this moment. One of them will be converted today or tommorrow, the other one might not be done at all, but proxied through nginx. The problem with that host is that it’s doing Subversion hosting, and I have yet to find a proper http(s) version that supports nginx :-)

That said; I will ofcourse keep running Apache in various places and keep track of things, but my own masterpiece is now nginx.

written by Remko \\ tags: , , ,