WIP add devs files for working with caddy / mercure

This commit is contained in:
2025-07-16 10:56:52 +02:00
parent def75cec6c
commit 3aea3f502b
5 changed files with 48 additions and 2 deletions

20
resources/dev.Caddyfile Normal file
View File

@@ -0,0 +1,20 @@
{
# Désactive les redirections automatiques HTTP -> HTTPS
# auto_https off
# Désactive le port 80 par défaut
# default_bind :8080
}
localhost:8043 {
mercure {
# Publisher JWT key
publisher_jwt !ChangeThisMercureHubJWTSecretKey!
# Subscriber JWT key
subscriber_jwt !ChangeThisMercureHubJWTSecretKey!
cors_origins http://chill-bundles.wip https://chill-bundles.wip
ui
demo
}
respond "Not Found" 404
}