|
@@ -10,7 +10,7 @@ tls internal
|
|
|
log
|
|
log
|
|
|
|
|
|
|
|
route {
|
|
route {
|
|
|
- redir / /.well-known/mercure/ui/
|
|
|
|
|
|
|
+ redir / /.well-known/mercure/ui/ # remove in prod
|
|
|
encode zstd gzip
|
|
encode zstd gzip
|
|
|
|
|
|
|
|
mercure {
|
|
mercure {
|
|
@@ -19,8 +19,9 @@ route {
|
|
|
subscriber_jwt {env.MERCURE_SUBSCRIBER_JWT_KEY} HS256
|
|
subscriber_jwt {env.MERCURE_SUBSCRIBER_JWT_KEY} HS256
|
|
|
cors_origins https://local.ap2i.opentalent.fr http://ap2i https://local.app.opentalent.fr http://app
|
|
cors_origins https://local.ap2i.opentalent.fr http://ap2i https://local.app.opentalent.fr http://app
|
|
|
publish_origins https://local.ap2i.opentalent.fr http://ap2i https://local.mercure.opentalent.fr
|
|
publish_origins https://local.ap2i.opentalent.fr http://ap2i https://local.mercure.opentalent.fr
|
|
|
- demo
|
|
|
|
|
|
|
+ demo # remove in prod
|
|
|
subscriptions
|
|
subscriptions
|
|
|
|
|
+ heartbeat 0s
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
respond /healthz 200
|
|
respond /healthz 200
|