Sign inSign up

lucascimon/nginx-logging-proxy

By lucascimon

•Updated over 8 years ago

A simple recipe to log HTTP requests made to a Docker service

Image
1

100K+

lucascimon/nginx-logging-proxy repository overview

cf. https://github.com/voyages-sncf-technologies/nginx-logging-proxy-demo⁠ for context and source Dockerfile.

Usage in docker-compose.yaml:

version: '3'
services:
  my_http_service:
    ...
  nginx-logging-proxy:
    image: lucascimon/nginx-logging-proxy
    environment:
      PROXIED_HOST: my_http_service
      PORT: 8000
    ports:
      - "8000:8000"

The port must be the one exposed by my_http_service.

Tag summary

Content type

Image

Digest

Size

42.4 MB

Last updated

over 8 years ago

docker pull lucascimon/nginx-logging-proxy