blob: 2dd250c0782905e90a0fafec090873af18e2993a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Learn how to configure the Mercure.rocks Hub on https://mercure.rocks/docs/hub/config
{
http_port 3000
https_port 3001
}
# Automatic HTTPS does not work with the systemd service unit.
# Change port to your https_port and enable the tls setting, if you want to use HTTPS.
:3000
#tls /etc/ssl/certs/cert.pem /etc/ssl/private/key.pem
log
route {
encode zstd gzip
mercure {
# Transport to use (default to Bolt)
transport_url bolt:///run/mercure/mercure.db
# Publisher JWT key
publisher_jwt !ChangeThisMercureHubJWTSecretKey!
# Subscriber JWT key
subscriber_jwt !ChangeThisMercureHubJWTSecretKey!
}
respond /healthz 200
respond "Not Found" 404
}
|