ali-mahdavi-mehr commented on issue #10988:
URL: https://github.com/apache/apisix/issues/10988#issuecomment-1975176148
> Could u please show me ur config.yaml of apisix and conf.yaml of dashboard?
APISIX config
```yaml
apisix:
node_listen: 9080
enable_ipv6: false
enable_control: true
control:
ip: "0.0.0.0"
port: 9092
extra_lua_path: "/lua_extra/?.lua"
extra_lua_cpath: ""
deployment:
admin:
allow_admin:
- 0.0.0.0/0
etcd:
host:
- "http://etcd:2379"
prefix: "/apisix"
timeout: 30
plugin_attr:
prometheus:
export_addr:
ip: "0.0.0.0"
port: 9091
metrics:
http_status:
extra_labels:
- upstream_addr: $upstream_addr
http_latency:
extra_labels:
- upstream_addr: $upstream_addr
bandwidth:
extra_labels:
- upstream_addr: $upstream_addr
nginx_config:
envs:
- NGINX_PORT
plugins:
- api-breaker
- authz-keycloak
- basic-auth
- batch-requests
- consumer-restriction
- cors
- ext-plugin-post-resp
- ext-plugin-post-req
- ext-plugin-pre-req
- fault-injection
- grpc-transcode
- hmac-auth
- http-logger
- ip-restriction
- jwt-auth
- kafka-logger
- key-auth
- limit-conn
- limit-count
- limit-req
- openid-connect
- prometheus
- proxy-cache
- proxy-mirror
- proxy-rewrite
- redirect
- referer-restriction
- request-id
- request-validation
- response-rewrite
- serverless-post-function
- serverless-pre-function
- sls-logger
- tcp-logger
- udp-logger
- uri-blocker
- wolf-rbac
- zipkin
- server-info
- traffic-split
- elasticsearch-logger
ext-plugin:
cmd: ["/plugins/go-runner", "run"]
path_for_test: /tmp/runner.sock
```
Dashboard config:
```yaml
conf:
listen:
host: 0.0.0.0
port: 9000
allow_list:
- 0.0.0.0/0
etcd:
endpoints:
- "http://etcd:2379"
mtls:
key_file: ""
cert_file: ""
ca_file: ""
log:
error_log:
level: warn
file_path:
logs/error.log
access_log:
file_path:
logs/access.log
security:
content_security_policy: "default-src 'self'; script-src 'self'
'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; frame-src *"
authentication:
enable: false
secret:
secret
expire_time: 360000
users:
- username: admin
password: admin
- username: user
password: user
plugins:
- api-breaker
- authz-keycloak
- basic-auth
- batch-requests
- consumer-restriction
- cors
- echo
- fault-injection
- grpc-transcode
- hmac-auth
- http-logger
- ip-restriction
- jwt-auth
- kafka-logger
- key-auth
- limit-conn
- limit-count
- limit-req
- openid-connect
- prometheus
- proxy-cache
- proxy-mirror
- proxy-rewrite
- redirect
- referer-restriction
- request-id
- request-validation
- response-rewrite
- serverless-post-function
- serverless-pre-function
- sls-logger
- tcp-logger
- udp-logger
- uri-blocker
- wolf-rbac
- zipkin
- server-info
- traffic-split
- ext-plugin-post-resp
- ext-plugin-post-req
- ext-plugin-pre-req
- elasticsearch-logger
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]