czwartek, 23 maja 2013

nginx - log format dla vhosta

       log_format  vhost '$http_host $remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent"';

        access_log /var/log/nginx/access.log vhost;

Brak komentarzy: