We have a Nginx Box which acts as a reverse proxy to backend
applications.
We only want to allow traffic on http://example.com which internally
redirects to specific application. Other then that, every other URI
should
be blocked.
Thanks. The above lined helped. However one more doubt. I want NGINX to
return 200 whenever some one goes to /nature , so I wrote above
configuration, however when some one goes to /nature , NGINX gives it
404
instead of 200. Here is my configuration :-