When accessing virtualmin-nginx module from Webmin (Servers>Nginx Webserver) and selecting the link “Add a new Nginx virtual host”, I get the following error after entering all the applicable info and hitting the Create button:
Error - Perl execution failed
Can’t use string ("/home/testdomain1/public_html") as an ARRAY ref while “strict refs” in use at virtualmin-nginx-lib.pl line 247.
This on a fresh install with Debian 6 and all up-to-date.
I could however create a vhost from the Virtualmin side, but would prefer to do everything via only Webmin.
no way…
I just installed nginx module for virtualmin (4.01.gpl GPL) under centos 6.4, but I have the same problem, I added also the above line to the /etc/nginx/nginx.conf but the problem is still here… can you help?
We have a box running Ubuntu Linux 12.04 - 3.98.gpl GPL. The include /etc/nginx/sites-enabled/*; is already in place and we still get exactly the same error as above.
Me too. Got the Perl problem on line 247 - but I have already the ‘sites-enabled’ thing… Nothing helped.
I’m using a dedicated centos 6, all updated applied.
Now my only problem is that I want to have apache and nginx on some virtual servers, I have 2 Ip’s and apache and nginx running on different ports, but virtualmin won’t let me have both, do you know if its possible?