pipech / erpnext-docker-debian

:whale: Self-contained ERPNext Docker Image base on Debian
MIT License
197 stars 122 forks source link

serve erpnext for any domain/IP #120

Closed hacker-h closed 11 months ago

hacker-h commented 2 years ago

I removed reverse proxy + monitoring from the prod setup and would now be able to expose erpnext on the LAN, however I can only reach the welcome page of nginx upon accessing any IP or a domain which does not match the domain in ./production_setup/env/frappe_app.env: NGINX_SERVER_NAME

I know that I can add a list of domains to it, but I would like to either insert a wildcard or entirely disable this filter.

How can this be tuned to serve erpnext instead of the nginx welcome page on arbitrary ports/domains?