fix(infra): revert imphnen block ke gmw-proxy 4009 (dimentorin gak dipublish via domain ini)

This commit is contained in:
Asep Haryana
2026-08-04 23:12:02 +07:00
parent 2050129062
commit 3e92f68d78
+1 -24
View File
@@ -101,30 +101,7 @@ dashboard.asepharyana.my.id {
imphnen.asepharyana.my.id {
import proxy 4009
header {
-Server
X-Content-Type-Options "nosniff"
X-Frame-Options "SAMEORIGIN"
Referrer-Policy "strict-origin-when-cross-origin"
}
handle /v1/* {
reverse_proxy 127.0.0.1:4099 {
transport http {
keepalive 120s
keepalive_interval 30s
max_conns_per_host 100
dial_timeout 3s
}
}
}
handle {
# vite dev server punya host protection (Vite 6.3): tolak Host selain localhost
# → rewrite Host upstream biar page + HMR websocket diterima
reverse_proxy 127.0.0.1:5173 {
header_up Host localhost:5173
}
}
}
}
upload.asepharyana.my.id, upload.asepharyana.web.id {
# Upload: no compression (binary), big body allowed, streaming