tambah trust proxy

This commit is contained in:
Saufi
2026-06-16 20:06:05 +08:00
parent 9d4717eb45
commit 61f6e3a587
13 changed files with 108 additions and 153 deletions

View File

@@ -2,6 +2,12 @@
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
# ── Webhook deploy (Gitea) — proxy ke container webhook ───────────────────
# https://myansuran.mbip.my/hooks/myansuran-deploy → myansuran-webhook:9000
ProxyPreserveHost On
ProxyPass /hooks/ http://myansuran-webhook:9000/hooks/
ProxyPassReverse /hooks/ http://myansuran-webhook:9000/hooks/
<Directory /var/www/html/public>
AllowOverride All
Require all granted