Welcome! Log In Create A New Profile

Advanced

Blocking all the URL except 1

Zeal Vora
June 23, 2016 12:48PM
Hi

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.

For example :-

example.com Allowed
example.com/test Blocked
example.com/login Blocked

How can I achieve this ?

Any help will be appreciated.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Blocking all the URL except 1

Zeal Vora June 23, 2016 12:48PM

Re: Blocking all the URL except 1

Edho Arief June 23, 2016 12:50PM

Re: Blocking all the URL except 1

Zeal Vora June 24, 2016 03:34AM

Re: Blocking all the URL except 1

Richard Stanway June 24, 2016 09:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
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