CustomBuild Nginx_apache space problem

Petertjuh360

Verified User
Joined
Nov 7, 2010
Messages
349
Hi,

After rebuilding nginx_apache there is a space between http:// and IP:8080; at the parameter proxy_pass. When nginx restart it gives the following error:
HTML:
Starting nginx: nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /usr/local/directadmin/data/users/admin/nginx.conf:25
After removing the space the problem is solved. This space is also present between "Listen" and the IP.

How can I solve this?
 
Sounds like the |IP| token has an extra leading space, which is odd.

Check:
/usr/local/directadmin/data/users/username/domains/domain.com.ip_list

to ensure the file does not have any leading spaces before the IP.

John
 
Back
Top