Proxmox: how to use nginx instead of apache

Hello list,

I wonder if anybody in this list was successful at (completely)
replacing apache for nginx as the web server for the proxmox VE
management system http://www.proxmox.com/products/proxmox-ve.

As for simply proxying it, I know that the following has beeen used to
simply proxy clients to apache:

server {
listen 80 default_server;
server_name ~^(www.)?(?.+)$;
return 302 https://$domain$request_uri;
}
server {
listen 443 default_server ssl;
server_name _;
ssl_certificate /etc/pve/local/pve-ssl.pem;
ssl_certificate_key /etc/pve/local/pve-ssl.key;
location / {
proxy_pass https://127.0.0.1:8006 ;
}
}

Thank you,
M.

On Sun, 2012-04-01 at 20:32 +0100, Mark A. wrote:

Hello list,

I wonder if anybody in this list was successful at (completely)
replacing apache for nginx as the web server for the proxmox VE
management system http://www.proxmox.com/products/proxmox-ve.

AFAIK, Proxmox is implemented in mod_perl and uses mod_perl specific
features. It’s tied to Apache.

Cliff

On Tue, 03 Apr 2012 09:54:47 -0700, Cliff W. [email protected]
wrote:

I wonder if anybody in this list was successful at (completely)
replacing apache for nginx as the web server for the proxmox VE
management system http://www.proxmox.com/products/proxmox-ve.

AFAIK, Proxmox is implemented in mod_perl and uses mod_perl specific
features. It’s tied to Apache.

Cliff

Thank you Cliff,

I was hoping that someone had already start some work (based on from
http://wiki.nginx.org/NginxEmbeddedPerlModule ?).

It would be much more light, secure and would, perhaps, avoid loading a
full perl instance for each apache child process.

Well, I won’t give up on it yet.

M.

On Tue, 3 Apr 2012 16:59:09 -0400, Chris [email protected] wrote:

You mean for the Proxmox VE Web GUI?

Yes. The idea is to use Nginx Instead of Apache to serve the Proxmox VE
Web GUI.

M.

You mean for the Proxmox VE Web GUI?