pveproxy, no webroot?

jdouglas

New Member
Jun 11, 2015
2
0
1
After upgrading from 2.3 -> 3.x, I've come to find out that apache2 is no longer in use and pveproxy is used instead. I have a php script used for hardware monitoring that worked under apache2, as a default site, under /var/www/html in the previous setup. I'd like to access the script over port 80 w/o redirect any of the standard proxmox ports and I'm unsure if this is something can I can add manually in the /usr/bin/pveproxy script via adding the following lines:

Code:
my $socket = $self->create_reusable_socket(80);
add_dirs($dirs, '/www/' => '/var/www/html/');

Is this possible? Is this the right direction to go in? Or is it possible to drop the file somewhere else for pveproxy to pick it up on port 80?
 
You can still install apache, or any other web server.

Thanks for the hint. :D It's Fixed.

While troubleshooting and learning about pveproxy, we were trying to start apache since it seemed to still be installed. But it refused to start being that it couldn't get ahold of port 8006.

The link for pve.conf was still in the /etc/apache2/site-enabled/ directory. Removing this fixed it, apologies if anyone's time was wasted, but it wasn't obvious as we weren't sure if it could run side by side.

Thanks again.