1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-06 23:56:08 +02:00

Merge pull request #2152 from vincent-herlemont/documentation-log-format

Documentation custom log format.
This commit is contained in:
Richard Hansen 2023-01-28 03:32:21 -05:00 committed by GitHub
commit d6d53893e8
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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