Welcome! Log In Create A New Profile

Advanced

Restricting access by public IP blocking remote content

May 08, 2018 04:28PM
As the subject states when I restrict access to a subdirectory via IP, remote content like Google fonts, and Favicons are blocked.

This of course makes sense, but without adding those hostnames to my admin-ip's file I use to allow IP's (explained below), can remote content like this be allowed by the actual web traffic I'm attempting to restrict to my VPN IP be filtered?

/etc/nginx/sites-enabled/default:

location /billingadmin {
include includes/admin-ips;
deny all;
}

/etc/nginx/includes/admin-ips:

#LAN
allow XXX.XXX.XXX.XXX;

#VPN
allow XXX.XXX.XXX.XXX;
allow XXX.XXX.XXX.XXX;
Subject Author Posted

Restricting access by public IP blocking remote content

pkris May 08, 2018 04:28PM

Re: Restricting access by public IP blocking remote content

Francis Daly May 09, 2018 04:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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