generated from rdilweb/template-docusaurus-plugin
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested
Description
I'm running Docusaurus in a Docker container and I can't get this plugin to work. I get this error in the server console:
[ERROR] Error: connect ECONNREFUSED 127.0.0.1:443 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
I tried to add the proxy-settings to the requestConfig arg but still doesn't work.
If I start Docusaurus with this plugin out commented, and uncomment it after the server starts, I at least won't get the error above, but instead I get a 404.
requestConfig: {
proxy: {
protocol: 'http',
host: '0.0.0.0',
port: 3000,
},
responseType: 'json',
headers: {
'Access-Control-Allow-Origin': '*'
}
}
You can try it out here:
https://codesandbox.io/s/brave-worker-n3608u?file=/docusaurus.config.js
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightquestionFurther information is requestedFurther information is requested