Logs incoming HTTP requests to stdout
521
Small NodeJS server that logs every incoming HTTP request to stdout.
Run it with Docker:
docker run --rm -Pti matiasgarciaisaia/request-logger
You need -P to expose the port on which it's listening.
To test a local version, build & run in docker:
docker build -t request-logger:local . && docker run --rm -Pti request-logger:local
Then use docker ps to check which port it's listening on.
You can also run it locally (if you have NodeJS) by running:
sudo node index.js
You need sudo because I'm lazy and made it run on port 80 by default. I meant to run it on Docker, so I don't care - please send a pull request if it's an issue for you :)
Content type
Image
Digest
Size
35.9 MB
Last updated
over 4 years ago
docker pull matiasgarciaisaia/request-logger