Welcome! Log In Create A New Profile


NGINX Allow Rule not behaving as expected

Posted by paul.haynes 
NGINX Allow Rule not behaving as expected
June 17, 2024 09:09AM
Hello i have bit of unexpected behaviour for a allow rule. i have 3 machines with known IP addresses and the rule of allow by IP works for and 10 but not for 18. I tried a subnet rule see hashed out and still could not access the expected resources.

Example code from nginx site file below.

location ~ /resource/private {
deny all;

Can anyone shed light on what could be going wrong here please?

NGINX version is 1.18.0 on Ubuntu 20.04 latest updates.


Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready