Nginx: directadmin-ips.conf loading data/users/apache/nginx_php.conf which does not exist (TEMPLATES)

Version 1.60.1

Bugfix
Finished

A previous fix for a DA IP config that was missing a "reseller" setting defaults to USER=apache. 1) For nginx, this should have been the first admin in the server, so this is set to the USER if the "reseller" is blank in the ip config. 2) Extra condition added to the template to ensure it's not added if missing: /usr/local/directadmin/data/templates/nginx_ips.conf |*if HAS_NGINX_PHP_CONF="yes"| include /usr/local/directadmin/data/users/|USER|/nginx_php.conf; |*endif| After updating, run: cd /usr/local/directadmin/custombuild ./build rewrite_confs

Interested to try DirectAdmin? Get a 30-day Free Trial!