Files
Effi/proxy-config/nginx.conf
T
Effi Server 14460d387b feat: deploy SearXNG search engine with Valkey rate limiting
- Add SearXNG service on port 6060 (replaces old port 11112)
- Add Valkey for rate limiting (5/min, 60/hour, 500/day)
- Add Nginx reverse proxy with X-Real-IP and X-Forwarded-For headers
- Configure JSON format and French locale
- Add rate limiting configuration in limiter.toml
- Add Valkey configuration in valkey.conf
2026-07-20 15:41:44 +00:00

23 lines
479 B
Nginx Configuration File

events {
worker_connections 1024;
}
http {
upstream searxng {
server effi-searxng:8080;
}
server {
listen 6060;
server_name localhost;
location / {
proxy_pass http://searxng;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}