Hi guys! Need some help with configuring Nginx (on the linuxserver/letsencrypt docker) as a reverse proxy for web-servers on my network (Hass.io to begin with). Any input to point me in the right direction is highly appreciated.
Current Setup
Router:
- Type: AmpliFi HD
- Forwarded Ports: 443 -> 8123 (RPi / Hass.io)
- DNS: Using Pi-Hole IP
Raspberry Pi 1 (w/ConBee II)
Rasberry Pi 2
- Pi-Hole
Ubuntu Server (18.04)
- Docker Containers
- linuxserver/letsencrypt (reverse proxy not configured)
Domain
- FQDN (Domeneshop)
Currently my HA is the only server that I access from outside my network (via www..no by default as it forwarded on 443), but I plan to have other web servers (both as Docker images on the Ubuntu server and on other hardware) that I want to have accessible outside using different sub-domains (i.e. homeassistant..no for HA and plex..no for Plex server).
Thus I want to use the linuxserver/letsencrypt container and configure the nginx as a reverse proxy. However I am not sure how to change the default.config file (located in <path/to/>config/nginx/site-confs on the Ubuntu host) to work for my setup, or what other changes I need to do (e.g. no my Hass.io configuration).