proxmox: how to use nginx instead of apache

Mark Alan varia at e-healthexpert.org
Sun Apr 1 19:32:14 UTC 2012


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\.)?(?<domain>.+)$;
	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.



More information about the nginx mailing list