Welcome! Log In Create A New Profile


deny directive on specific proxy_pass implementation

Posted by xtirus 
deny directive on specific proxy_pass implementation
March 02, 2019 02:29PM

I have two nginx servers:

First one is configured as upstream to the second one.

Second one is configured as proxy_pass with few virtual hosts.

All traffic incoming into 2'nd comes with 1'st public IP.

So in 2'nd directive deny in location of course don't work at all.

Do you have any idea how to get around this problem?


Edited 2 time(s). Last edit at 03/02/2019 02:33PM by xtirus.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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