Skip to content

Enable stub_status and control status & API ports #339

@isaachawley

Description

@isaachawley

In some IC deployments the hard-coded ports for the NGINX+ API conflict with other services already running on those containers, and the NGINX open source stub_status isn't exposed at all.

We'll add 2 CLI options:

  • nginx-status-port the port to listen on
  • nginx-status which enables/disables the api or stub_status. If disabled, we'll listen on a unix socket instead, so the IC can still use api features.

The stub_status location will be added in a separate server directive in the nginx config, similar to the existing NGINX Plus API location.

We'll need to extend the NGINX Plus go sdk to handle linux sockets.

Metadata

Metadata

Assignees

Labels

enhancementPull requests for new features/feature enhancements

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions