▲ 1 r/OpenMediaVault
Having issues with reverse proxy resulting in 504
Hi all,
first time posting here since im new to openmediavault. I'm having issues with my reverse proxy setup. I'll give you some context and the reason why i think it's openmediavault related rather than router/switch.
- Routing (proxmox node router):
- opnsense (192.168.1.x)
- opnsense has vlan 1, 2, 3, 4, 5, 10, 20, 99 firewall is fully open between vlans for now
- unifi manager (192.168.2.x)
- ngix reverse proxy (192.168.10.x)
- opnsense (192.168.1.x)
ubiquiti switch is on 192.168.2.x but that shouldn't matter
- Home services (proxmox node 0)
- grocy (192.168.3.x)
- homarr (192.168.3.x)
- Nas services (proxmox node 1)
- openmediavault (192.168.3.x)
When I navigate to openmediavault from anywhere in the network on it's internal mDNS name, I get the login page and can use openmediavault fine. If I navigate to the configured url in ngix I get a 504 timeout.
The reason why i think its config on omv:
- all proxmox settings between node 0 and node 1 are the same
- settings-wise for the network both grocy and omv have the same configuration
- in the switch both ports for node 0 and node 1 are set to default vlan 2 with an allow all tagged vlan traffic.
- the exact same setup works for grocy
good to know:
- my ngix fetches ssl certificates from letsencrypt through cloudflare as dns validation
- my domain doesnt have public dns records pointing back to my ip
- my domain has a custom record in unbound dns in opnsense pointing to ngix with a catchall * subdomain
- all vlans have their own gateway & dns server both on 192.168.[vlantag].1
- I've checked and tried the most common things mentioned arount the internet already, but I won't guarantee I couldnt have made a mistake.
- I reinstalled OMV already as well just to make sure.
I'm familiar with networking by now, but by no means i would call myself an 'expert'.
If anyone has an idea, i will be forever grateful.
u/Pro_Owner — 7 days ago