New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Storage log, config nginx & apache ()

Started by IgorA100, May 21, 2017, 06:16:37 PM

Previous topic - Next topic

IgorA100

I do not understand the logic of storing nginx configs for donen in the /etc/nginx/conf.d folder.
I do not understand the logic of storing apache configs for all donen in one /usr/local/apache/conf.d/vhosts.conf file
I do not understand the logic of storing nginx logs for donen in the /var/logs/nginx folder.
I do not understand the logic of storing apache logs for all donen in the /usr/local/apache/logs folder. In this case, the logs are not separated into domains! Analyzing logs it is not possible to understand to which of the sites belongs to the log line!

It is more logical to store all the configs and logs in the domain directory. Having a certain structure:
HOME_DIR/www/vhosts/DOMEN_NAME - base dir
HOME_DIR/www/vhosts/DOMEN_NAME/http - dir for site
HOME_DIR/www/vhosts/DOMEN_NAME/conf- dir for config files
HOME_DIR/www/vhosts/DOMEN_NAME/logs- dir for config logs

With each directory of logs, make the symlink in the directory /var/log for more convenient analysis by admin.

So in fact it will be much more convenient and each user will be able to more accurately configure for themselves configs and view the logs of their sites.

All this is not much work!

Igor S.

Hello,

probably in the future it will be changed but it is not a current plan.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services


WeBuild IT

Quote from: Igor S. on May 30, 2017, 06:32:27 AM
Hello,

probably in the future it will be changed but it is not a current plan.

Hi Igor, I think is very reasonable suggestion & is more comfortable for debug & conf file storage.