4 Commits

Author SHA1 Message Date
Manav Rathi
e2c894f87f
[infra] Limit the maximum size of the nginx stdout logs
nginx logs to stdout, which is captured by docker and put into a file at
/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log

By default, the size of this file is unbounded. Add a maximum limit of 1 GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
- https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:23:48 +05:30
Manav Rathi
303b12c709
Fix the dependency on nginx 2024-03-19 09:31:51 +05:30
Manav Rathi
19724367df
Support nginx configuration reloads 2024-03-18 21:47:53 +05:30
Manav Rathi
022c11d7fa
Import the base nginx service definition we use 2024-03-18 03:50:21 +05:30