Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171725

pveproxy, no webroot?

$
0
0
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?

Viewing all articles
Browse latest Browse all 171725

Trending Articles