Move nginx logs from container logs to host
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