Skip to content

nginx service #38

Open
Open
@djthorpe

Description

@djthorpe

Implement an nginx service tasks:

  • Start, stop, reload and test configuration
  • Create new configurations, update, enable , disable and delete them
  • Command-line client for control of nginx
  • Add a client which can be used for client-side control
  • Permissions on the TEMP directory need to be 755 rather than 700
  • Permissions on any socket directory need to reflect User and Group in httpserver
  • Add scopes for nginx for permissions
  • Add data (for sockets/pid) and log paths
  • Use a mutex lock to guard against concurrency in various places
  • Add "readonly" property to Template so that it cannot be disabled, enabled, changed or deleted
  • Add template variables for rending a configuration from a text/template
  • Allow PATCH method to write body of enabled configuration
  • Log rotation
  • Check remaining TODO's

The repository link is:
https://github.com/mutablelogic/go-server/tree/v4/pkg/handler/nginx

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions