Skip to content

Conversation

@Firstsawyou
Copy link
Contributor

@Firstsawyou Firstsawyou commented May 18, 2021

What this PR does / why we need it:

Signed-off-by: Firstsawyou yuelinz99@gmail.com

Add a warning note in the How to allow all IPs to access the Admin API section of the FAQ.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first


Restart or reload APISIX, all IPs can access the `Admin API`.

>Note: You can use this method in the exercise to allow all IPs to access your `Apache APISIX` instance, but it is not safe to use it in a production environment. In production, please only authorize specific IP addresses or address ranges to access your instance.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use **...** for Note.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.


重启或 reload APISIX,所有 IP 便可以访问 `Admin API`。

**注意:您可以在练习中使用此方法,以允许所有 IP 访问您的 `Apache APISIX` 实例,但是在生产环境中使用它并不安全。在生产中,请仅授权特定的 IP 地址或地址范围访问您的实例。**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

练习中 is not very good.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@Firstsawyou Firstsawyou requested a review from starsz May 18, 2021 09:49

Restart or reload APISIX, all IPs can access the `Admin API`.

**Note: You can use this method in a non-production environment to allow all IPs to access your `Apache APISIX` instance, but it is not safe to use it in a production environment. In production, please only authorize specific IP addresses or address ranges to access your instance.**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Note: You can use this method in a non-production environment to allow all IPs to access your `Apache APISIX` instance, but it is not safe to use it in a production environment. In production, please only authorize specific IP addresses or address ranges to access your instance.**
**Note: You can use this method in a non-production environment to allow all clients from anywhere to access your `Apache APISIX` instances, but it is not safe to use it in a production environment. In production, please only authorize specific IP addresses or address ranges to access your instance.**

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@Firstsawyou Firstsawyou requested a review from tokers May 19, 2021 04:32
@tokers tokers merged commit 53ece39 into apache:master May 19, 2021
@Firstsawyou Firstsawyou deleted the faq_allow_admin branch May 19, 2021 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants