Currently I run Nginx as a reverse proxy in a Docker container. FROM nginx
ENV DEBIAN_FRONTEND noninteractive ... Details hidden ... EXPOSE 80 EXPOSE 443 CMD nginx -g 'daemon off;' We are wanting to use Graylog, and have it for our other containers. So I want to now use it for Nginx. Graylog is like Syslog. I went to follow this guide: https://github.com/ronlut/graylog-content-pack-nginx-docker It recommends we symbolically link the logs to stdout/stderr (which is already part of the docker container) and it then uses this language (see the bottom of the the README.md at github): Run Now, when your logs are collected by docker from stdout & stderr, you can run your docker using this command: docker run --log-driver=gelf --log-opt gelf-address=udp://<GraylogIP>:12401 <ImageName> <Command> for example: docker run --log-driver=gelf --log-opt gelf-address=udp://<GraylogIP>:12401 busybox echo Hello Graylog <https://github.com/ronlut/graylog-content-pack-nginx-docker#screenshots>Has anyone had any experience with this? Or understand this last set of steps? Thank you Julian
_______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org