awstat wrong path in nginx config on vhosts
Hello,
on subdomain vhosts, the path to awstats stat file is wrong. For example when i create a vhost sub1.example.com with webfolder "sub1", in the nginx config file /etc/nginx/sites-available/sub1.example.com.vhost the line for awstats .htpasswd_stats is set to
/var/www/clients/client1/web1/web/stats/.htpasswd_stats
instead
/var/www/clients/client1/web1/sub1/stats/.htpasswd_stats
After changing the value manully and restart nginx the stats url is working, but on changes it gets overwriten again.
br