-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I tried this policy by fellowing the steps on the homepage, but I found my response lost.
Here is my gateway.config.yml:
https:
port: 9443
tls:
"default":
key: "key.pem"
cert: "cert.pem"
admin:
port: 9876
host: localhost
apiEndpoints:
aggregateAPIs:
paths:
- '/cogarch/api/WorkspaceFacadeAPIs/*'
serviceEndpoints:
aggregateService:
url: 'https://localhost:4014'
proxyOptions:
secure: false
policies:
- proxy
- errors
pipelines:
aggregate:
apiEndpoints:
- aggregateAPIs
policies:
- errors:
- action:
template: '{ "status": "$statusCode", "message": "$message" }'
defaults:
status: 503
message: Internal Server Error
messages:
Internal Server Error: Oops... Please try again
Validation Error: Some fields have validation errors
- proxy: # policy name
- action:
serviceEndpoint: aggregateService
changeOrigin: true
selfHandleResponse: true
I tested in postman, the service already returned 401 but postman is still waiting for response.

Does any configuration thing I missed?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels