Reverse proxy using NGINX

Note, if you are using docker-compose with homeassistant, nginx, and certbot containers on the same device, you would have to create a docker network to allow communication between home assistant and nginx. Without a docker network, I had Bad 400 and 502 errors. Unfortunately, this solution would break network_mode: host on homeassistant. Therefore, I had to migrate from nginx and certbot to swag to allow me to maintain homeassistant network discovery.