Comments on How to install nginx as a Reverse Proxy for Apache on Ubuntu 16.04
This tutorial shows how you can set up nginx as a reverse proxy in front of an Apache 2.4 web server on Ubuntu 16.04. nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.
6 Comment(s)
Comments
can i use this with fstcgi ? if yes, how can i use fastcgi along with php-fpm ?
Very useful tutorial.... Thank you,
Is it rpaf enough to forward the ip to error.log or I have to change ErrorLogFormat? Because access.log ip forward works even without rpaf, only with vcl and CustomLogFormat X-Forwarder-For, but I can't make it with the error.log. Whic is vey useful to have the clien ip specially if you are usign Fail2Ban.
Can you please help me.. I have implemented all the above steps.. html working fine.. but php files getting downloaded...
Hello and thank for the article,
my question is. how can I configure different docker-container-web-apps with the same proxy?
Thank
Abel
What if I have Apache serving multiple sites? What changes do I need to make in nginx.conf to accomodate?