Skip to content
Rumen Damyanov edited this page Aug 23, 2025 · 1 revision

nginx-torblocker Wiki

Welcome to the nginx-torblocker documentation wiki! This collection of articles provides comprehensive guides for installing, configuring, and using the nginx-torblocker module.

Quick Navigation

Getting Started

Configuration Guides

Real-World Examples

Troubleshooting & Maintenance

Development & Contributing

Module Overview

The nginx-torblocker module is a dynamic Nginx module that automatically blocks access from Tor exit nodes. Key features include:

  • Automatic Updates: Fetches fresh Tor exit node lists regularly
  • Granular Control: Configure blocking at HTTP, server, or location level
  • Selective Access: Allow Tor for public content while blocking sensitive areas
  • Multi-Site Support: Different policies for different virtual hosts
  • Performance Focused: Minimal impact on request processing

Quick Start

For immediate results:

  1. Install: Follow the Installation Guide
  2. Configure: Add torblock on; to your nginx.conf
  3. Test: Restart Nginx and verify module loading
  4. Monitor: Check logs for blocked requests

Project Background

This module is inspired by the original AntiTor PHP script developed over 20 years ago. The nginx-torblocker brings this concept into the modern era with native Nginx performance and sophisticated access control policies.

Getting Help

Clone this wiki locally