frappe-bench will know which site to serve from the sites directory as per the host header.
if you have your.site.name under your sites directory then try,
curl -H "Host: your.site.name" -s "http://192.168.1.114:28831/api/method/ping"
you will get {"message":"pong"}.
If you cannot access the site like this? you need ip:port access or some other domain pointing to existing site?
- you can override, host header at porxy/lb level as done here
- you can set the site as default site to serve from bench, in case your bench only serves 1 site then you can set it to default.
pwd.ymldoes this with--set-defaulthere - if you need advance nginx config then mount template at
/templates/nginx/frappe.conf.templateand it will be used to generate the nginx config when starting the container. Default template is like this