How do I restrict admin access IPs? #1180
-
For security purposes, I want to restrict IPs accessing the admin page. How can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
LinkinStars
Nov 21, 2024
Replies: 1 comment 4 replies
-
Yes, for now you may need to modify the source code, or use Nginx, etc. for restrictions. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@hdnauth
incubator-answer/internal/base/server/http.go
Line 90 in c2ad8c6
The admin router was registered here. So you can add a middleware here to restrict the IP.