Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mreiche/nginx-debug
https://github.com/mreiche/nginx-debug
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mreiche/nginx-debug
- Owner: mreiche
- Created: 2023-12-05T08:09:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-05T09:37:14.000Z (12 months ago)
- Last Synced: 2024-10-12T05:44:07.897Z (about 1 month ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nginx Debug
## Build
```shell
podman build -f Dockerfile --platform linux/amd64 . -t "nginx-debug"
```
## Run```shell
podman run --rm -p 8080:8080 --name my-nginx nginx-debug nginx-debug -g 'daemon off;'
```## Test
```shell
curl -H 'H: First' -H 'H: Second' localhost:8080
```## References
- https://stackoverflow.com/questions/24380123/how-to-log-all-headers-in-nginx
- https://docs.okd.io/latest/networking/routes/route-configuration.html#nw-route-specific-annotations_route-configuration