• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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: 1
Back
Top