≡ Menu

Nginx Location Examples

If you are running Nginx webserver, it is important for you to understand how the location directive works. Nginx uses location directive to decide what configuration it should apply based on prefix or the pattern in the incoming URL. For example, from what directory it should serve the image files when an URL ends with [...]

{ 1 comment }

You can use Nginx as a loadbalancer in front of your web application. For example, if your enterprise application is running on Apache (or Tomcat), you can setup an 2nd instance of your enterprise application on Apache (or Tomcat) on a different server. And then, you can put Nginx at the front-end, which will load [...]

{ 2 comments }