Commit graph

13 commits

Author SHA1 Message Date
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
9083d5c5fb
Remove server header 2023-11-23 17:44:08 +00:00
530503d769
Add in-memory cache around linguist data
Mostly useful for local development, but should help a little in production too
2023-07-15 17:47:21 +01:00
7d20ccd8d7
Restart gunicorn processes more often 2023-02-21 21:46:26 +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
378c0f9f44
Allow all IPs to send forwarded headers 2023-02-06 20:03:56 +00:00
79f532b5c0
Do a lookup to find reverse proxy
`forwarded_allow_ips` doesn't support CIDR
2022-10-30 14:26:06 +00:00
1023c821ab
Allow gunicorn to use X-Forwarded-* header 2022-10-30 12:14:16 +00:00
fb453a3277
Run an additional thread so the GIL isn't sitting completely idle 2022-09-06 08:36:55 +01:00
da89510eee
Restart workers after a given number of requests 2022-08-30 21:39:11 +01:00
ad894a30a1
Correctly override gunicorn server header 2022-08-30 08:48:16 +01:00
9a15fcbe60
Move gunicorn conf to etc directory 2022-07-29 08:29:50 +01:00
Renamed from gunicorn.conf.py (Browse further)