# nginx as reverse Proxy

**URL:** <https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273>\
**Category:** Virtualmin\
**Created:** [September 11, 2014, 7:06pm UTC](https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273 "2014-09-11T19:06:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehargags](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/m/96bed5/32.png) [@mehargags](https://forum.virtualmin.com/u/mehargags)\
**Post date:** [September 11, 2014, 7:06pm UTC](https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273/1 "2014-09-11T19:06:59Z")

</div>

I wanted to configure nGinx as reverse proxy.

I followed [http://www.unixmen.com/10-easy-steps-to-upgrade-from-mysql-to-mariadb-on-centos-6-4/](http://www.unixmen.com/10-easy-steps-to-upgrade-from-mysql-to-mariadb-on-centos-6-4/) and [http://devkardia.com/easyblog/virtualmin-apache-and-nginx-reverse-proxy.html](http://devkardia.com/easyblog/virtualmin-apache-and-nginx-reverse-proxy.html) and managed to get nginx running, somehow nGinx fails to goto and Fetch the Site from apache.

What can be the possible cause? I hosted [fullonpunjabi.com](http://fullonpunjabi.com) on it, it just shows the default page of nginx page.  
Can you please help ?

[http://pastebin.com/NVHJKgd2](http://pastebin.com/NVHJKgd2) nginx conf

---

<div class="post-metadata">

**Author:** ![Chris\_C](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/c/ba9def/32.png) [@Chris\_C](https://forum.virtualmin.com/u/Chris_C)\
**Post date:** [November 20, 2014, 9:19pm UTC](https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273/2 "2014-11-20T21:19:32Z")

</div>

i see ur site [fullonpunjabi.com](http://fullonpunjabi.com) is running now. What did you do to get it working ?

You should take a look at this guide. It looks simple… about 5 steps… Would u say this is more or less the same steps you did to get urs working?

[https://www.vultr.com/docs/setup-nginx-as-reverse-proxy-over-apache-on-debian-ubuntu](https://www.vultr.com/docs/setup-nginx-as-reverse-proxy-over-apache-on-debian-ubuntu)

---

<div class="post-metadata">

**Author:** ![Masplus](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@Masplus](https://forum.virtualmin.com/u/Masplus)\
**Post date:** [November 7, 2017, 6:53pm UTC](https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273/3 "2017-11-07T18:53:03Z")

</div>

We’re developing it, you can check it at:

[https://github.com/btactic/virtualmin-nginx-reverse-proxy-hook](https://github.com/btactic/virtualmin-nginx-reverse-proxy-hook)

It’s a early version, it works, but need more working on it.

You can improve it or you can propose improvements, or if you know how to work it, a pull requests.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 6:01am UTC](https://forum.virtualmin.com/t/nginx-as-reverse-proxy/49273/4 "2020-04-30T06:01:27Z")

</div>

Closed on April 30, 2020, 6:01am UTC


