Closed
Description
When I tried to proxy request to an https host, I got 'EPROTO' error, help, please.
// config/index.js
proxyTable: {
'/salt': {
target: 'https://192.168.1.234:8443',
changeOrigin: true
}
}
my host: http://192.168.1.233:8080
api server host: https://192.168.1.234:8443
error log:
[HPM] Error occurred while trying to proxy request /salt/salt2rice/bask/lisNewtByPublish?pageSize=5&pageIndex=1 from 192.168.1.233:8080
to https://192.168.1.234:8443 (EPROTO) (https://nodejs.org/api/errors.html#errors_common_system_errors)
Metadata
Metadata
Assignees
Labels
No labels