• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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