I have a couple of questions:
I. Is it possible to configure nginx after startup?
Example scenario:
Daemon started only with knowledge of settings like HTTP url or Consul addr.
Nginx fetches settings from the address provided.
- Nginx reload/restart and apply them.
- Nginx could reload cfg by SIGNAL.
II. Is it possible to force nginx to make a decision about which upstream HTTP request needs to be sent based on HTTP subrequest?
Like there 3rd party service which could make a decision based on the cookie. Ngx send cookie to the service, it replies with upstream addr?