Hello,
I need to serve my Frappe site via IP and port, alongside the real domain name.
- I used
bench setup add-domain MY-PRIVATE-IP
; nginx.conf re-generated. - gunicorn is listening on port 8000, default.
- Production setup, multi-tenancy is ON hostname-based is ON, but we have only one site.
Accessing http://MY-PRIVATE-IP:8000 won’t reach Frappe.
If it matters: the server is in a private network, requires VPN to access. On my Windows machine, I mapped a dummy domain to the IP on the hosts
file and it worked fine, but I need to serve the site via the IP as well.
Your advice is highly appreciated.