Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Move nginx logs from container logs to host

Sreeram R requested to merge dev/nginx-logs-elk into master

Changes:

  • Update nginx conf to send logs to /var/log/nginx rather than /dev/stdout
  • Update docker compose to bind mount nginx /var/log/nginx path to /var/log/containers/{ENV}-spot/nginx/ in host
  • Update nginx conf to user real client IP in logs
  • Update .gitlab-ci.yml to add correct gateway IP to nginx conf file
Edited by Sreeram R

Merge request reports

Loading