monetix gateway

This commit is contained in:
Stephan D
2025-12-04 21:16:15 +01:00
parent f439f53524
commit 396a0c0c88
47 changed files with 3835 additions and 3 deletions

View File

@@ -35,6 +35,37 @@
header Expires "0"
}
# Monetix payout callbacks -> mntx gateway (IP allow-listed)
@monetixSuccess {
path /gateway/m/success*
method POST
remote_ip 88.218.112.16 88.218.112.16/32 88.218.113.16 88.218.113.16/32 93.179.90.141 93.179.90.128/25 93.179.90.161 93.179.91.0/24 178.57.67.47 178.57.66.128/25 178.57.67.154 178.57.67.0/24 178.57.68.244
}
handle @monetixSuccess {
rewrite * /monetix/callback
reverse_proxy sendico_mntx_gateway:8080
header Cache-Control "no-cache, no-store, must-revalidate"
}
@monetixFail {
path /gateway/m/fail*
method POST
remote_ip 88.218.112.16 88.218.112.16/32 88.218.113.16 88.218.113.16/32 93.179.90.141 93.179.90.128/25 93.179.90.161 93.179.91.0/24 178.57.67.47 178.57.66.128/25 178.57.67.154 178.57.67.0/24 178.57.68.244
}
handle @monetixFail {
rewrite * /monetix/callback
reverse_proxy sendico_mntx_gateway:8080
header Cache-Control "no-cache, no-store, must-revalidate"
}
@monetixCallbackPath {
path /gateway/m/success* /gateway/m/fail*
method POST
}
handle @monetixCallbackPath {
respond "forbidden" 403
}
########################################
# Static assets with tailored caching
########################################