From aa50116272e3aa45ae85101757fa99bdd113712d Mon Sep 17 00:00:00 2001 From: Vincent Herlemont Date: Fri, 27 Jan 2023 23:16:49 +0100 Subject: [PATCH] Documentation custom log format. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 951e2f6..51d7b80 100644 --- a/README.md +++ b/README.md @@ -227,6 +227,11 @@ If you would like to connect to FastCGI backend, set `VIRTUAL_PROTO=fastcgi` on If you use fastcgi,you can set `VIRTUAL_ROOT=xxx` for your root directory +### Custom log format + +If you want to use a custom log format, you can set `LOG_FORMAT=xxx` on the proxy container. + +With docker compose take care to escape the `$` character with `$$` to avoid variable interpolation. Example: `$remote_addr` becomes `$$remote_addr`. ### Default Host