Welcome! Log In Create A New Profile

Advanced

Nginx as frontend Static

Posted by nginingx 
Nginx as frontend Static
September 10, 2011 01:20PM
Hello, I installed and I'm using nginx as reverse proxy. I am using Apache and I wanted to know at this point if I can make that the images are loaded directly from nginx, while the dynamic part of the site are loaded from Apache.
thanks
Re: Nginx as frontend Static
September 11, 2011 06:52AM
Yes, this is perfectly possible. You should have nginx running as the front server and then proxy_pass all dynamic content to apache in the locations that you want, while serving all static files directly. Read the nginx manual for more information. There are also many similar examples on these forums.

Andrejs
Re: Nginx as frontend Static
September 11, 2011 10:31AM
I can not find any links for me. you can kindly give me some links useful for my purpose?
Thanks and congratulations for the forum! :)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready