dpeca

Turn on access log for Vesta-nginx

Apr 7th, 2018
347
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data