# Proxmox: how to use nginx instead of apache

**URL:** <https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467>\
**Category:** NGINX\
**Created:** [April 1, 2012, 9:32pm UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467 "2012-04-01T21:32:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [April 1, 2012, 9:32pm UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467/1 "2012-04-01T21:32:50Z")

</div>

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](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](https://127.0.0.1:8006) ;  
}  
}

Thank you,  
M.

---

<div class="post-metadata">

**Author:** ![larios](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@larios](https://www.ruby-forum.com/u/larios)\
**Post date:** [April 3, 2012, 6:55pm UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467/2 "2012-04-03T18:55:38Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![larios](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@larios](https://www.ruby-forum.com/u/larios)\
**Post date:** [April 3, 2012, 8:52pm UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467/3 "2012-04-03T20:52:36Z")

</div>

On Tue, 03 Apr 2012 09:54:47 -0700, Cliff W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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](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  
[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com · GitHub](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.

---

<div class="post-metadata">

**Author:** ![larios](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@larios](https://www.ruby-forum.com/u/larios)\
**Post date:** [April 4, 2012, 10:01am UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467/4 "2012-04-04T10:01:37Z")

</div>

On Tue, 3 Apr 2012 16:59:09 -0400, Chris [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![larios](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/bc79bd/32.png) [@larios](https://www.ruby-forum.com/u/larios)\
**Post date:** [April 3, 2012, 11:00pm UTC](https://www.ruby-forum.com/t/proxmox-how-to-use-nginx-instead-of-apache/218467/5 "2012-04-03T23:00:08Z")

</div>

You mean for the Proxmox VE Web GUI?
