Welcome! Log In Create A New Profile


Nginx as Load Balancer AND Reverse Proxy

October 24, 2018 12:47PM

I am using Nginx successfully as a Load Balancer in AWS where http is redirected to https, and correct SSL certificate is used based on the Host parameter. Behind the Load balancer are 4 stateless NodeJS servers.

What I want to do now is that when a customer points their domain to my Load balancer through CNAME, I _also_ want to serve a particular Path as their root.

For example: Their directory is at myservice.com/c/company path. When someone visits www.company.com this host will get recognized and I will serve myservice.com/c/company as the root of www.company.com

Is it possible to configure the load balancer to also do this?

Subject Author Posted

Nginx as Load Balancer AND Reverse Proxy

bbalban October 24, 2018 12:47PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready