Source: medium.com

Nginx as a Reverse Proxy

Category: Kubernetes, Docker, Infrastructure, nginx

In this article, I show how to use Nginx as the central reverse proxy in your cloud that works with Consul and local DNS servers for providing well-known domain names of applications running in your cloud. You know, sometimes a tool is great, but you wish to have more control, and you wish to truly understand the problems that a tool solves. [...] Nginx is the web server that we employ at work to load balance services, to provide TLS, and as an ingress server in our Kubernetes cluster. [...] In this article, I will show how to start and configure Nginx to work as a reverse proxy server. [...] The example in our case will be to accept requests for the host grafana.infra and forward them to the same named service that is registered with Consul2.

Related Articles