Author Topic: Storage log, config nginx & apache ()  (Read 10073 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Storage log, config nginx & apache ()
« on: May 21, 2017, 06:16:37 PM »
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!

Offline
*****
Re: Storage log, config nginx & apache ()
« Reply #1 on: May 30, 2017, 06:32:27 AM »
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

Offline
*
Re: Storage log, config nginx & apache ()
« Reply #2 on: May 30, 2017, 08:47:26 AM »
Hello, Igor !
Ok.

Offline
*
Re: Storage log, config nginx & apache ()
« Reply #3 on: January 17, 2018, 11:49:22 PM »
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.