help
help copied to clipboard
nginx proxy_pass npm program.
Details
nginx proxy_pass http://127.0.0.1:8080;
npm run dev
after proxy_pass, External network access still have the link?
https://127.0.0.1:8080/sockjs-node/info?t=1709478831246
Access this link is ok. https://www.test.com/sockjs-node/info?t=1709478831246
Node.js version
npm -v 8.19.4
Example code
No response
Operating system
Linux instance-20240121-1638 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Scope
code
try {
self.xhr.send(payload);
} catch (e) {
self.emit('finish', 0, '');
self._cleanup(false);
}
Module and version
Not applicable.