pack Ts too!

This commit is contained in:
lda
2026-04-15 03:35:15 +07:00 Unverified
parent f59fd7a846
commit c450e297c8
3 changed files with 11 additions and 8 deletions
@@ -6,13 +6,13 @@
#
# Replace cp.example.com with your public control-plane domain.
cp.example.com {
wakey.ldlda.com {
encode zstd gzip
# Public agent-facing endpoints.
@public path /healthz /api/v1/agents/enroll /api/v1/agent/ws
handle @public {
reverse_proxy 127.0.0.1:8787
reverse_proxy 127.0.0.1:6767
}
# Admin surface requires Cloudflare Access headers.
@@ -21,7 +21,7 @@ cp.example.com {
handle @admin {
handle @cf_access {
reverse_proxy 127.0.0.1:8787
reverse_proxy 127.0.0.1:6767
}
respond "forbidden" 403
}
+2 -2
View File
@@ -5,8 +5,8 @@ Wants=network-online.target
[Service]
Type=simple
User=wakey
Group=wakey
User=lda
Group=lda
WorkingDirectory=/opt/wakey
ExecStart=/opt/wakey/bin/wakey-control-plane serve --config-file /etc/wakey-control-plane/config.toml
Restart=on-failure