I have placed Varnish in front of Apache on my back end server.. thus, I changed the Apache port to 8080.
I went into the server templates page, and under "Apache Website", changed each template so that the "port number for virtual host" equals 8080.
I also changed the "external port" number to 80 (instead of "same as apache")
After making these changes, Virtualmin complains that it cannot find an apache virtual host, or log file (for log file rotation) for any domains during server validation; during backups this causes it to be reported as "failed".
what is also strange is that Virtualmin (or something else?), seems to be adding "NameVirtualhost 188.8.131.52:80" and "NameVirtualHost *:80" to /etc/apache2/ports.conf.
i'm not 100% certain on this last statement, but it does appear that after changing ports.conf, changes are garbled or lost. which is yet another bug/annoyance.
this is causing some some serious problems using Virtualmin for domain administration at the moment.
is there something I am maybe forgetting to change (when switching apache to a non-standard port)?
which file does virtualmin store the validation procedure in, so that i might be able to implement a work around until a bug fix is released?
thanks again Jamie!
Log in to post a comment.