Advertisement
dpeca

Turn on access log for Vesta-nginx

Apr 7th, 2018
644
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.18 KB | None | 0 0
  1. sed -i "s|access_log          /dev/null  main;|access_log           /usr/local/vesta/log/nginx-access.log combined;|g" /usr/local/vesta/nginx/conf/nginx.conf
  2. service vesta restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement