Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mreiche/nginx-debug


https://github.com/mreiche/nginx-debug

Last synced: 6 days ago
JSON representation

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