# Logfmt with Nginx ## Start $ docker rm -f nginx $ docker run --name nginx -d -p 8080:8080 -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf:ro nginx:1.9.3 ## Test $ curl -H 'User-Agent: User Agent with " Double Quotes' 'http://127.0.0.1:8080/path with space and " quotes' ## Logs $ docker logs remote_addr=172.17.42.1 forwarded_for="-" host="127.0.0.1:8080" method=GET status=200 length=0 total=0.000 upstream_time=- ua="User Agent with \x22 Double Quotes" uri="/path with space and \x22 quotes" ref="-"