chg: pkg: make compatible the whole project with bare metal AND with docker #4
This commit is contained in:
25
Caddyfile
Normal file
25
Caddyfile
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
{$CADDY_GLOBAL_OPTIONS}
|
||||
|
||||
frankenphp {
|
||||
{$FRANKENPHP_CONFIG}
|
||||
}
|
||||
}
|
||||
|
||||
{$SERVER_NAME:localhost} {
|
||||
log
|
||||
|
||||
root * /app/public
|
||||
|
||||
encode zstd br gzip
|
||||
|
||||
mercure {
|
||||
transport_url {$MERCURE_TRANSPORT_URL:bolt:///data/mercure.db}
|
||||
publisher_jwt {$MERCURE_JWT_SECRET} HS256
|
||||
subscriber_jwt {$MERCURE_JWT_SECRET} HS256
|
||||
anonymous
|
||||
subscriptions
|
||||
}
|
||||
|
||||
php_server
|
||||
}
|
||||
Reference in New Issue
Block a user