문제

I'm using Nginx and I'm having difficulties in setting up web hosting accounts via cPanel. Every time I create a new account in WHM, it's automaticly creating the config file for the domain in the vhosts folder (/etc/nginx/vhosts). The issue is that the default config file that is being created is damaged. For example: *It's creating the access log in a folder that doesn't exists. *It doesn't have proper PHP settings.

How can I edit the default vhosts file that's automaticly being created?

도움이 되었습니까?

해결책

After looking over more than 50 files, the correct file that is building the vhost files (on cpanel) is: /scripts/createvhosts.py

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top