Set request and response headers

This commit is contained in:
Donal McBreen
2024-07-31 13:55:58 +01:00
committed by Donal McBreen
parent c8adda1550
commit 269a5ff3e6
3 changed files with 17 additions and 2 deletions

View File

@@ -93,6 +93,19 @@ proxy:
max_response_body: 0
memory: 2_000_000
# Logging
#
# Configure request logging for the proxy
# You can specify request and response headers to log.
# By default, Cache-Control and Last-Modified request headers are logged
logging:
request_headers:
- Cache-Control
- X-Forwarded-Proto
response_headers:
- X-Request-ID
- X-Request-Start
# Forward headers
#
# Whether to forward the X-Forwarded-For and X-Forwarded-Proto headers (defaults to false)