LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache Proxy with NodeJS not downloading static files (https://www.linuxquestions.org/questions/linux-newbie-8/apache-proxy-with-nodejs-not-downloading-static-files-4175476720/)

societymedia 09-11-2013 09:30 AM

Apache Proxy with NodeJS not downloading static files
 
Hi guys, need some help. I have a nodejs express app that runs on :3010. I have set up a <VirtualHost> in my httpd.conf to proxyPass my domain abc.com to 1.1.1.1:3010

apache resolves the abc.com to abc.com:3010 correctly but all the resources in the html file are throwing 502 proxy errors.

other than modifying the html, whats the best way to fix this?

Thanks so much!

societymedia 09-11-2013 01:07 PM

hmm solved by simply adding a '/' at the end of the ProxyPass. Duh!

unSpawn 09-11-2013 01:16 PM

Thanks for posting your fix.


All times are GMT -5. The time now is 08:25 PM.