Commit graph

12 commits

Author SHA1 Message Date
7fcbbad885
Move gzipping to nginx
This means less time is spent in gunicorn, letting the workers process other requests sooner.
2024-05-04 23:19:43 +01:00
750fceee02
Remove cache lock 2024-01-14 16:39:05 +00:00
87cac3fecb
Ensure cache files remain active for a while 2024-01-14 16:14:43 +00:00
bbf7411f50
Run everything as non-root 2024-01-14 12:59:31 +00:00
f5a18fdca0
Use cache to accelerate static file serving with nginx
This lets whitenoise handle the headers, and nginx serves them quickly from the cache
2024-01-13 23:01:15 +00:00
8ce25dcf2d
Use s6 to run everything in a single container 2024-01-13 21:43:10 +00:00
6996e191e5
Clear proxy header 2023-11-23 17:44:08 +00:00
9083d5c5fb
Remove server header 2023-11-23 17:44:08 +00:00
d4645d3812
Ensure "public" is included in cache control headers 2023-11-23 13:33:19 +00:00
32a06e4b42
Unset some extra headers
Avoids some gunicorn errors
2023-02-22 09:32:18 +00:00
92ecbb2c48
Route nginx to django app 2023-02-22 09:15:44 +00:00
d8a8e7fd8e
Use nginx to serve static files
This should keep easy requests out the app event loop, hopefully improving response time
2023-02-21 21:46:26 +00:00