tambah webhook

This commit is contained in:
Saufi
2026-05-22 16:12:05 +08:00
parent d9ecdfc8f6
commit 2a67d937e8
5 changed files with 74 additions and 0 deletions

View File

@@ -62,6 +62,13 @@ server {
try_files $uri =404;
}
# ── GitHub Webhook Deploy ─────────────────────────────────────────────────
location /hooks/ {
proxy_pass http://ecert_webhook:9000/hooks/;
proxy_set_header Host $host;
proxy_read_timeout 60s;
}
# ── Halang akses fail tersembunyi ─────────────────────────────────────────
location ~ /\. {
deny all;