Closed
Description
// in /config/index.js
proxyTable: {
'/api': {
target: 'https://xxx.xxx.xxx.xxx:xxxx',
changeOrigin: true,
pathRewrite: {
'^/api': '/api'
}
}
}
my host: http://localhost:8080
test server: https://xxx.xxx.xxx.xxx:xxxx
error is:
[HPM] Error occurred while trying to proxy request /api/xxx
from localhost:8080 to https://xxx.xxx.xxx.xxx:xxxx (DEPTH_ZERO_SELF_SIGNED_CERT)
(https://nodejs.org/api/errors.html#errors_common_system_errors)
Metadata
Metadata
Assignees
Labels
No labels