• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Reverse Proxy question moving from Debian to CentOS

akira9000

Basic Pleskian
Hi,

I have a dev that needs to move his website build from a Debian 8 machine to a CentOS machine. In doing this the reverse proxy for their js app has stopped functioning.

The CentOS machine is running v6.10 Final with the latest Plesk 17.8.11 Apache 2.2
8GB memory and lots of disk space.

App lives in httpdocs/myapp

They have added this to the /etc/httpd/conf/httpd.conf but I have a feeling this is either not specific enough or something else needs to happen.

Code:
<VirtualHost *:80>
   ProxyPreserveHost On
   ProxyPass /myapp/ http://localhost:3000
   ProxyPassReverse /myapp/ http://localhost:3000
</VirtualHost>

Any advice appreciated
 
And should say this is what you get if you visit the /myapp URL
 

Attachments

  • Screenshot 2019-03-06 at 19.16.31.png
    Screenshot 2019-03-06 at 19.16.31.png
    61.6 KB · Views: 2
Back
Top