mikyll commented on issue #12334: URL: https://github.com/apache/apisix/issues/12334#issuecomment-2980218280
> This route has not enabled any plugins without proxy-rewrite . When a 400 error occurs, the following error is found in the error.log: > > ``` > { > "uri": "/attach/*", > "name": "cbs-bj-prod-route-attach", > "desc": "cbs-bj-prod-attach", > "host": "xxx.gadf.com, > "plugins": { > "file-logger": { > "include_req_body": false, > "include_resp_body": false, > "path": "/data/apisix/logs/xxxx.logaccess.log" > }, > "proxy-rewrite": { > "headers": { > "Host": "$host", > "X-Forwarded-For": "$proxy_add_x_forwarded_for", > "X-Real-IP": "$remote_addr", > "http_version": "1.1" > } > } > }, > "upstream_id": "attachment-starter", > "status": 1 > } > ``` In this configuration field `host` is missing a closing double quote: ``` "host": "xxx.gadf.com, <-- missing a " ``` The rest of the configuration seems correct 🤔 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org