This directory contains configuration examples for running ArxSentinel in different environments.
ArxSentinel listening directly for HTTP requests from clients.
| Example | Platform | Files |
|---|---|---|
| Nginx | Nginx | nginx-json-logformat.conf — log format snippets for direct nginx + JSON parsing |
| Apache | Apache 2.4+ | apache/httpd.conf, apache/sentinel-config.yaml |
| Caddy | Caddy 2.x | caddy/Caddyfile, caddy/sentinel-config.yaml |
| HAProxy | HAProxy 2.x+ | haproxy/haproxy.cfg, haproxy/sentinel-config.yaml |
| Traefik | Traefik 2.x+ | traefik/traefik.yml, traefik/sentinel-config.yaml |
| LiteSpeed | LiteSpeed 5.4+ | litespeed/httpd_config.conf, litespeed/sentinel-config.yaml |
When to use: Direct client connection, single-layer architecture, or gateway appliance role.
ArxSentinel deployed behind a reverse proxy (nginx, Caddy, HAProxy, or Traefik) that forwards log entries for analysis.
See reverse-proxy/README.md for full proxy setup guide, IP chain integrity, and Cloudflare guard configuration.
| Example | Proxy + ArxSentinel | Files |
|---|---|---|
| Nginx | nginx → ArxSentinel | reverse-proxy/nginx-rp/ — nginx.conf + sentinel-config |
| Caddy | Caddy → ArxSentinel | reverse-proxy/caddy/ — Caddyfile + sentinel-config |
| HAProxy | HAProxy → ArxSentinel | reverse-proxy/haproxy/ — haproxy.cfg + sentinel-config |
| Traefik | Traefik → ArxSentinel | reverse-proxy/traefik/ — traefik.yml + sentinel-config |
When to use: Multi-layer architecture, load balancing, Kubernetes ingress, or behind an existing reverse proxy.
Pre-configured examples for common content management systems.
| Platform | Examples | Location |
|---|---|---|
| WordPress | Generic WordPress + Multisite | cms/wordpress.yaml |
| Drupal | Drupal 9, 10 | cms/drupal.yaml |
| Joomla | Joomla 3, 4 | cms/joomla.yaml |
| Laravel | Laravel 9+ | cms/laravel.yaml |
| Generic PHP | Any PHP framework | cms/generic-php.yaml |
- Choose your scenario above (standalone or reverse proxy).
- Copy the corresponding
sentinel-config.yamlto your deployment environment. - Customize ports, log paths, and rules as needed.
- See
../../README.mdfor full integration guide anddeploy/docker/for containerized deployment.
For Nginx with direct connection, use nginx-json-logformat.conf to set up
the proper log format for JSON parsing. Nginx reverse proxy examples already
include the necessary log format directives.
- Whitelist Rules: ./README.whitelist.md
- Chain Guard & IP Validation: reverse-proxy/README.md
- Metrics & Monitoring: ../../deploy/grafana/README.md
- Custom Log Formats: ./README.log-formats.md