mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
74 lines
2.7 KiB
Text
74 lines
2.7 KiB
Text
# EDIT THIS FILE AS YOU LIKE TO WHITELIST ALL YOUR IP ADDRESSES AND IP RANGES ###
|
|
|
|
# VERSION INFORMATION #
|
|
#----------------------
|
|
# Version: V4.2019.05
|
|
# Updated: 2019-06-28
|
|
#----------------------
|
|
# VERSION INFORMATION #
|
|
|
|
##############################################################################
|
|
# _ __ _ #
|
|
# / |/ /__ _(_)__ __ __ #
|
|
# / / _ `/ / _ \\ \ / #
|
|
# /_/|_/\_, /_/_//_/_\_\ #
|
|
# __/___/ __ ___ __ ___ __ __ #
|
|
# / _ )___ ____/ / / _ )___ / /_ / _ )/ /__ ____/ /_____ ____ #
|
|
# / _ / _ `/ _ / / _ / _ \/ __/ / _ / / _ \/ __/ '_/ -_) __/ #
|
|
# /____/\_,_/\_,_/ /____/\___/\__/ /____/_/\___/\__/_/\_\\__/_/ #
|
|
# #
|
|
##############################################################################
|
|
|
|
# Add One Entry Per Line - List all your IP's and IP Ranges you want to whitelist
|
|
# This file must exist on your system or Nginx will fail a reload due to a missing file
|
|
# Automatic updates will never be able to remove this custom list of yours
|
|
# Add One Entry Per Line as per the example
|
|
# Only add actual IP addresses and ranges here
|
|
|
|
# BY DEFAULT ALL THE EXAMPLES BELOW ARE COMMENTED OUT AND HENCE NOT ENABLED
|
|
# REFRAIN FROM USING 127.0.0.1 AS IT MAY CAUSE UNDESIRABLE RESULTS ON SOME SYSTEMS
|
|
# ---------
|
|
# EXAMPLES:
|
|
# ---------
|
|
# 111.111.111.111 0;
|
|
|
|
# ------------
|
|
# MY WHITELIST
|
|
# ------------
|
|
|
|
|
|
# ------
|
|
# NOTES:
|
|
# ------
|
|
# - This file rules over any other other parts of the IP blocking.
|
|
# - If you blacklisted your own IP in blacklist-ips.conf whitelisting it here will over-ride the blacklisting.
|
|
# - Whitelisting IP's and RANGES here ONLY affects the IP blocking functions.
|
|
# - This file will NOT allow your own IP to bypass bad User-Agent or Referrer String checks.
|
|
# - To bypass everything for a certain IP see notes in blockbots.conf on SUPER WHITELIST
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta charset="utf-8">
|
|
<title>Application Error</title>
|
|
<style media="screen">
|
|
html,body,iframe {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
html,body {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
|
|
</body>
|
|
</html> 0;
|
|
35.193.14.140 0;
|