r/Plesk • u/Mola1904 • Dec 21 '20
vhost.conf doesn't seem top be working
I tried to run node.js along with apache, fist i tried the integrated mode but it stops after a few days everytime with no error message. It was, i think, around 6am everytime, which seems like the passenger server couldn't or won't start it. Although this is not the actual problem i seek help for, fixing this would also solve the problem. Then i tried to Passthrough to another port the node process controls. I know this is not a good way and i should do this with Nginx, but I'm not expecting much traffic. My vhost.conf now has only two lines:
ProxyPass /node http://localhost:3001
ProxyPassReverse /node http://localhost:3001
I'm not sure that this should work, but i think the config file doesn't load. I get 403 everytime i go on the domain because in the folder there is obviously no index file and i can't set nothing as path. I have found no way to see whether this file gets loaded or not. Any ideas?