Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roles: introduce role for http servers #197

Merged
merged 2 commits into from
Sep 12, 2024

Commits on Sep 12, 2024

  1. roles: introduce role for http servers

    This patch adds `roles.httpd`. This role allows to configure one or
    more HTTP servers. Those servers could be reused by several other roles.
    
    Servers could be accessed by their names (from the config).
    
    `get_server(name)` method returns a server by its name. If `nil` is passed,
    default server is returned. The server is default, if it has
    `DEFAULT_SERVER_NAME` (`"default"`) as a name.
    
    Closes #196
    DerekBum committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    0f51905 View commit details
    Browse the repository at this point in the history
  2. server: add delete method for routes

    This patch adds a `httpd:delete(name)` method to delete
    named routes.
    DerekBum committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    edcb472 View commit details
    Browse the repository at this point in the history