Skip to content

Commit 8634641

Browse files
committed
fix: update hostname whitelist
1 parent 856235c commit 8634641

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

config/environments/production.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
'prostaff.gg',
2323
'www.prostaff.gg',
2424
ENV.fetch('APP_HOST', nil),
25+
# Internal service names: prostaff-events Reconciler calls the API using the
26+
# Docker Compose service hostname (e.g. "api" or "api:3000") at boot time.
27+
/\Aapi(:\d+)?\z/,
2528
# Internal IPs: Docker bridge, Coolify overlay, localhost — used by health check probes
2629
/\A(localhost|127\.0\.0\.1|10\.\d+\.\d+\.\d+|172\.(1[6-9]|2\d|3[01])\.\d+\.\d+)(:\d+)?\z/
2730
].compact

0 commit comments

Comments
 (0)