Tech
Setting up nginx as a reverse proxy
If you run more than one service on a server, you need a single entry point in front of them. Instead of setting up a web server and SSL inside every service, it gets handled once, in one place.
We will use jwilder/nginx-proxy . It watches the Docker socket and builds nginx config automatically, based on labels and env vars on your containers. No manual nginx.conf editing every time you add a service.
Prerequisites:
A server with Docker and the Docker Compose plugin installed.
A do...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to