You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/03/23 07:24:50 UTC
[GitHub] [apisix] phperEric opened a new issue #3890: 9180 port 403 Forbidden
phperEric opened a new issue #3890:
URL: https://github.com/apache/apisix/issues/3890
config.yaml
```
apisix:
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 192.168.0.0/24 # If we don't set any IP list, then any IP access is allowed by default.
# - "::/64"
port_admin: 9180
admin_key:
- name: "admin"
# yamllint disable rule:comments-indentation
key: edd1c9f034335f136f87ad84b625c8f1 # using fixed API token has security risk, please update it when you deploy to production environment
# yamllint enable rule:comments-indentation
role: root
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #3890: 9180 port 403 Forbidden
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #3890:
URL: https://github.com/apache/apisix/issues/3890
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Firstsawyou edited a comment on issue #3890: 9180 port 403 Forbidden
Posted by GitBox <gi...@apache.org>.
Firstsawyou edited a comment on issue #3890:
URL: https://github.com/apache/apisix/issues/3890#issuecomment-804687985
In `allow_admin` you need to configure the IP list that allows you to access the `Admin API`. Currently, only `192.168.0.0/24` is allowed to access in your configuration. Example, configure `0.0.0.0/0` to allow all ip access:
```yaml
apisix:
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 192.168.0.0/24 # If we don't set any IP list, then any IP access is allowed by default.
- 0.0.0.0/0
# - "::/64"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Firstsawyou commented on issue #3890: 9180 port 403 Forbidden
Posted by GitBox <gi...@apache.org>.
Firstsawyou commented on issue #3890:
URL: https://github.com/apache/apisix/issues/3890#issuecomment-804687985
In `allow_admin` you need to configure the IP list that allows you to access the admin api.
Example:
```yaml
apisix:
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow
- 192.168.0.0/24 # If we don't set any IP list, then any IP access is allowed by default.
- 0.0.0.0/0
# - "::/64"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander commented on issue #3890: 9180 port 403 Forbidden
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #3890:
URL: https://github.com/apache/apisix/issues/3890#issuecomment-841151107
Consider solved
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org