Welcome! Log In Create A New Profile

Advanced

Re: Can we blocked Headless browsers in Nginx?

September 29, 2023 02:04AM
map $http_user_agent $browser_id {
default 1;
~Mozilla/.*Chrome/ 0;
~Mozilla/.*Safari/ 0;
~Mozilla/.*Edg/ 0;
}

[...]

location / {
if ($browser_id) { return 403; }

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Can we blocked Headless browsers in Nginx?

blason September 14, 2023 02:05AM

Re: Can we blocked Headless browsers in Nginx?

blason September 28, 2023 10:56PM

Re: Can we blocked Headless browsers in Nginx?

itpp2012 September 29, 2023 02:04AM



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