Documented how to parse access logs.
This commit is contained in:
parent
7b0dca88b3
commit
3ffe975686
1 changed files with 10 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue