nginx / unit

NGINX Unit - universal web app server - a lightweight and versatile open source server that simplifies the application stack by natively executing application code across eight different programming language runtimes.
https://unit.nginx.org
Apache License 2.0
5.29k stars 325 forks source link

OAS: Enhancement: missing endpoint /upstreams #944

Closed Pavlusha311245 closed 9 months ago

Pavlusha311245 commented 10 months ago

The/upstreams endpoint is missing. It is neither in the documentation nor in the web server code. Either it didn't make sense, or they just forgot about it :) I work with Nginx Unit API and noticed its absence. But for the completeness of the API I think it should be added.

image image image
hongzhidao commented 10 months ago

Hi, It's in nxt_upstreams_create().

tippexs commented 10 months ago

It is likely missing in the OAS Spec! We will have a look. But as mentioned by @hongzhidao the control API itself Hosts an endpoint for managing the upstreams.

ghost commented 9 months ago

The entire reverse proxying feature set was toned down a while ago in view of the possible upcoming changes to avoid prematurely tying the customers to a specific way of working with it. Closing the issue for now.