Documented how to parse access logs.

This commit is contained in:
Christoph Haas 2016-08-11 18:24:08 +02:00
parent 7b0dca88b3
commit 3ffe975686

View file

@ -14,6 +14,10 @@ createdb -O debshots -E UTF8 -T template0 debshots
adduser debshots
Allow the user to parse access log files from Nginx:
adduser debshots adm
su - debshots
=== Install the required Ruby version using rbenv
@ -336,3 +340,9 @@ server {
/keep_screenshot/:screenshot
* Users: 403
* Moderators: re-approve a screenshot that was requested for deletion
== Cron jobs
Parse Nginx access logs to count the number of visits of each package:
RAILS_ENV=production bundle exec rake debshots:accesslog2visits[/var/log/nginx/cache-access.log.1]