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

feature: support to enable HTTPS for admin API #1647

Closed
membphis opened this issue Jun 4, 2020 · 2 comments · Fixed by #1648
Closed

feature: support to enable HTTPS for admin API #1647

membphis opened this issue Jun 4, 2020 · 2 comments · Fixed by #1648
Assignees
Labels
enhancement New feature or request

Comments

@membphis
Copy link
Member

membphis commented Jun 4, 2020

Allow users to access the Admin API via HTTPS.
We can add a single flag to support this feature.

apisix:
  allow_admin:                  # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
    - 127.0.0.0/24              # If we don't set any IP list, then any IP access is allowed by default.
    - "::/64"
  port_admin: 9180              # use a separate port for Admin API
  https_admin: true             # enable HTTPS when use a separate port for Admin API.
                                # Admin API will use conf/apisix_admin_api.crt and conf/apisix_admin_api.key as certificate.
@membphis membphis added the enhancement New feature or request label Jun 4, 2020
@dabue
Copy link
Contributor

dabue commented Jun 4, 2020

I will do it.

@membphis
Copy link
Member Author

membphis commented Jun 4, 2020

Here is the certificate:

apisix admin ssl.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants