I have some trouble configuring nginx
as reverse proxy.
It is good to say I have a VPS with kloxo
and webmin
installed and running multiple domains on my VPS.
I have installed nginx
via REPEL
and YUM
and this is my /etc/nginx/nginx.conf
file
given in this link.
I change apache port to 8080 and restart service for making changes and start nginx and there is some problem.
When I try reaching every domains on my centos vps, I face to APACHE START PAGE (WELCOME PAGE)
and when I enter my VPS IP in browser like x.x.x.x
, I face to NGINX START PAGE (WELCOME PAGE)
.
I want nginx
to serve my static files and redirect dynamic ones to Apache
for better performance.