Welcome!
Log In
Create A New Profile
Home
>
Mailing Lists
>
Nginx Mailing List - English
> Topic
Advanced
Re: Can we blocked Headless browsers in Nginx?
Previous Message
Next Message
Forum List
Message List
New Topic
Print View
itpp2012
September 29, 2023 02:04AM
Admin
Registered: 12 years ago
Posts: 1,298
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/
Reply
Quote
RSS
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
libtech
Guests: 131
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024