Reverse Proxy

Hello everyone

We are trying to run on same droplet (DO) our application in node.js and a public website in Wordpress.

We are looking to have domain.com running the Wordpress website and domain.com/app the node.js app.

We created the reverse proxy, but it is not loading the dmxAppConnect files, assets, etc.

Any of you tried to do similar task? Any tip?

Thanks!

404 error?

For nginx read this:

Same issue might happen with other reverse proxies

1 Like

Hello! Thanks for your answer @Apple!

Did you change your app config to work with the reverse proxy?

I haven’t deployed my app in production yet, but make sure to confirm your app can get the user’s IP address instead of the load balancer’s IP address :slight_smile:

I’m assuming you are using Nginx rather than Apache? I have a config for Apache if you’d like it, but not for Nginx yet.