bookwyrm/nginx
Bart Schuurmans 75bc4f8cb0 Make nginx config safer
Instead of allowing all image files anywhere, and disallowing non-image file under /images/, only
allow image files under /images/ and don't match non-image files elsewhere. They get proxied to web
instead and result in a 404 there.

For example, the old config allowed /exports/foo.jpg to be served, while the new config does not.
2024-03-29 15:04:38 +01:00
..
development Make nginx config safer 2024-03-29 15:04:38 +01:00
production Make nginx config safer 2024-03-29 15:04:38 +01:00
server_config Enable nginx caching and optimizations. 2022-12-06 13:01:40 +00:00