reverted to an earlier version

This commit is contained in:
2026-02-11 01:45:00 +08:00
parent 3e35b18dce
commit 9092302033
2 changed files with 4 additions and 26 deletions

View File

@@ -7,23 +7,5 @@ ai-gateway.ldex.dev {
output stdout
}
# Remove the server signature so Zscaler doesn't know it's a Python app
header {
-Server
Access-Control-Allow-Origin "{header.Origin}"
Access-Control-Allow-Methods "GET, POST, OPTIONS"
Access-Control-Allow-Headers "*"
Access-Control-Expose-Headers "*"
Access-Control-Allow-Credentials "true"
defer
}
@options {
method OPTIONS
}
handle @options {
respond "" 204
}
reverse_proxy ai-gateway:8000
}