• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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