mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Documentation custom log format.
This commit is contained in:
parent
07cc80ac6b
commit
aa50116272
@ -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
|
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
|
### Default Host
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user