Learning How to Setup NGINX
January 17, 2021•187 words
This is my first blog post using Listed.to!
Trying to setup NGINX Reverse Proxy (nginx-proxy)...again
I want to use this a platform to document my homelab musings and a sort ongoing "lessons learned" report.
Today's challenge is setting up a reverse proxy.
Why a reverse proxy?
Being someone who is a bit of a docker enthusiast, I'm starting to reach the point where access my services is getting to be a bit cumbersome.
I would love to be able to simply type in something like wiki.homelab.io
into my address bar instead of 192.168.1.1:5555
.
Resolving the reverse to DNS names also allow for easy sharing with friends and family.
Why nginx-proxy?
As I stated earlier, I love docker and the idea of containerized services. Being able to add this to my docker stack adds an extra layer of ease.
Introducing nginx-proxy.
nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped. It is reverse proxy on easy mode for docker services.
To be continued once i fix my docker