The NGINX config used for https://catsarch.com and its Tor/I2P counterparts.
Find a file
2026-05-02 17:47:48 -04:00
conf.d remove(map blocking): unused spoofed user agent check that previously caused issue 2026-05-02 17:47:48 -04:00
sites-available docs: Add a "changeme" to the template's X-I2P-Location header 2026-04-17 19:23:31 -04:00
sites-enabled remove: delete now unneeded Anubis and Tor metrics monitoring endpoints 2026-04-19 19:15:17 -04:00
.gitignore Upload files 2025-11-07 16:43:23 -05:00
fastcgi.conf Upload files 2025-11-07 16:43:23 -05:00
fastcgi_params Upload files 2025-11-07 16:43:23 -05:00
koi-utf Upload files 2025-11-07 16:43:23 -05:00
koi-win Upload files 2025-11-07 16:43:23 -05:00
mime.types Upload files 2025-11-07 16:43:23 -05:00
nginx.conf remove(map blocking): unused spoofed user agent check that previously caused issue 2026-05-02 17:47:48 -04:00
README.md Add more info to README and reword some of it 2025-11-15 21:16:24 -05:00
scgi_params Upload files 2025-11-07 16:43:23 -05:00
uwsgi_params Upload files 2025-11-07 16:43:23 -05:00
win-utf Upload files 2025-11-07 16:43:23 -05:00

NGINX Config

This is the NGINX config used for https://catsarch.com and its Tor/I2P counterparts.

It's been made public in the name of openness, as I apply many header changes (typically security or cache related) and also occasionally do rewrites with sub_filter.

I hope that at some point someone else will find some of the documentation and work I've done useful and be able to use parts of this for their own NGINX setup.

Using

This is used with NGINX Mainline, so make sure you're using it or else you may be missing certain directives.

Comment out any references to the private folder as I've kept it hidden to remove some low hanging fruit for bypassing caching and getting into internal services.

You'll also need a few NGINX modules: