DEV Community

Discussion on: Run your Node.js application on a headless Raspberry Pi

Collapse
 
chrisakers profile image
Chris Akers

Yes, I imagine that the reverse proxy would have worked properly since the hostname would match in that scenario. But I followed the "0. Don't use a Reverse Proxy :(" section since I was only making something for use in my LAN. The assertion at the end of that section is "Now you can access from the outside of the world! You can type your device's address followed by the port in your browser." This is not true since using the device's address will not match the hostname. :(

Thread Thread
 
bogdaaamn profile image
Bogdan Covrig

That's right, yeah. Thank you for the heads up, I've edited the code to a more general case