10000 Add caddy server log options · dunglas/symfony-docker@5c65ff0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c65ff0

Browse files
tomas-kulhanekmaxhelias
authored andcommitted
Add caddy server log options
1 parent 6b37be1 commit 5c65ff0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ You can also customize the `Caddyfile` by using the following environment variab
5757
| `CADDY_GLOBAL_OPTIONS` | the [global options block](https://caddyserver.com/docs/caddyfile/options#global-options), one per line | |
5858
| `CADDY_EXTRA_CONFIG` | the [snippet](https://caddyserver.com/docs/caddyfile/concepts#snippets) or the [named-routes](https://caddyserver.com/docs/caddyfile/concepts#named-routes) options block, one per line | |
5959
| `CADDY_SERVER_EXTRA_DIRECTIVES` | the [`Caddyfile` directives](https://caddyserver.com/docs/caddyfile/concepts#directives) | |
60+
| `CADDY_SERVER_LOG_OPTIONS` | the [server log options block](https://caddyserver.com/docs/caddyfile/directives/log), one per line | |
6061
| `SERVER_NAME` | the server name or address | `localhost` |
6162
| `FRANKENPHP_CONFIG` | a list of extra [FrankenPHP directives](https://frankenphp.dev/docs/config/#caddyfile-config), one per line | `import worker.Caddyfile` |
6263
| `MERCURE_TRANSPORT_URL` | the value passed to the `transport_url` directive | `bolt://mercure.db` |

frankenphp/Caddyfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
{$SERVER_NAME:localhost} {
1212
log {
13+
{$CADDY_SERVER_LOG_OPTIONS}
1314
# Redact the authorization query parameter that can be set by Mercure
1415
format filter {
1516
request>uri query {

0 commit comments

Comments
 (0)
0