Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions deploy-v2/Caddyfile-v2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ api.rustokwallet.com {
Strict-Transport-Security "max-age=31536000; includeSubDomains"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
Content-Security-Policy "default-src 'none'; frame-ancestors 'none'"
Referrer-Policy "strict-origin-when-cross-origin"
Permissions-Policy "camera=(), microphone=(), geolocation=()"
X-XSS-Protection "0"
-Server
}

# Cap request bodies — MCP JSON-RPC messages are small; blocks large-POST
# abuse (review #7). Raise if a future tool needs bigger payloads.
request_body {
max_size 1MB
}

reverse_proxy rustok-gateway:3000
Expand Down