i`m using nginx and works fine.
now if you wanna do reverse proxy, try this:
location / { proxy_pass http://LAN_IP_ADDRESS;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; }
}
Otherwise check the firewall nat rules so all the incoming traffic for both 80 and 443 are diverted to your itlfow instance
check as well the uwf status and allow nginx
sudo ufw allow 'Nginx HTTP'
sudo ufw allow 'Nginx HTTPS'
sudo ufw reload
sudo ufw status
you should get
Status: active
To Action From -- ------ ----
Nginx HTTP ALLOW Anywhere
Nginx HTTPS ALLOW Anywhere
if you have that, should be fine.