apisix
This commit is contained in:
1 parent
b68632a50e
commit
31eb2d296d
9 files changed
+12022
No files matched your search
@@ -0,0 +1,28 @@
|
||||
apisix:
|
||||
id: "apisix-gateway"
|
||||
|
||||
deployment:
|
||||
role: traditional
|
||||
role_traditional:
|
||||
config_provider: etcd
|
||||
admin:
|
||||
allow_admin:
|
||||
- 0.0.0.0/0
|
||||
admin_key:
|
||||
- name: "admin"
|
||||
key: edd1c9f034335f136f87ad84b625c8f1
|
||||
role: admin
|
||||
etcd:
|
||||
host:
|
||||
- "http://etcd:2379"
|
||||
prefix: "/apisix"
|
||||
|
||||
nginx_config:
|
||||
custom_lua_shared_dict:
|
||||
oauth_cache: 1m
|
||||
http:
|
||||
access_log: "/dev/stdout"
|
||||
access_log_format: '{"time_local":"$time_local","client_ip":"$remote_addr","request":"$request","status":$status,"body_bytes_sent":$body_bytes_sent,"request_time":$request_time,"upstream_response_time":"$upstream_response_time"}'
|
||||
access_log_format_escape: json
|
||||
error_log: "/dev/stderr"
|
||||
error_log_level: "warn"
|
||||
@@ -0,0 +1,102 @@
|
||||
conf:
|
||||
listen:
|
||||
host: 0.0.0.0
|
||||
port: 9090
|
||||
allow_list:
|
||||
- 0.0.0.0/0
|
||||
etcd:
|
||||
endpoints:
|
||||
- etcd:2379
|
||||
log:
|
||||
error_log:
|
||||
level: warn
|
||||
file_path: /dev/stderr
|
||||
access_log:
|
||||
file_path: /dev/stdout
|
||||
security:
|
||||
content_security_policy: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-src *;"
|
||||
|
||||
authentication:
|
||||
secret: "edd1c9f034335f136f87ad84b625c8f1"
|
||||
expire_time: 3600
|
||||
users:
|
||||
- username: "admin"
|
||||
password: "admin"
|
||||
|
||||
plugins:
|
||||
- api-breaker
|
||||
- authz-casbin
|
||||
- authz-casdoor
|
||||
- authz-keycloak
|
||||
- aws-lambda
|
||||
- azure-functions
|
||||
- basic-auth
|
||||
- clickhouse-logger
|
||||
- client-control
|
||||
- consumer-restriction
|
||||
- cors
|
||||
- csrf
|
||||
- datadog
|
||||
- echo
|
||||
- error-log-logger
|
||||
- ext-plugin-post-req
|
||||
- ext-plugin-post-resp
|
||||
- ext-plugin-pre-req
|
||||
- fault-injection
|
||||
- file-logger
|
||||
- forward-auth
|
||||
- google-cloud-logging
|
||||
- grpc-transcode
|
||||
- grpc-web
|
||||
- gzip
|
||||
- hmac-auth
|
||||
- http-logger
|
||||
- ip-restriction
|
||||
- jwt-auth
|
||||
- kafka-logger
|
||||
- kafka-proxy
|
||||
- key-auth
|
||||
- ldap-auth
|
||||
- limit-conn
|
||||
- limit-count
|
||||
- limit-req
|
||||
- loggly
|
||||
- mocking
|
||||
- opa
|
||||
- openid-connect
|
||||
- opentelemetry
|
||||
- openwhisk
|
||||
- prometheus
|
||||
- proxy-cache
|
||||
- proxy-control
|
||||
- proxy-mirror
|
||||
- proxy-rewrite
|
||||
- public-api
|
||||
- real-ip
|
||||
- redirect
|
||||
- referer-restriction
|
||||
- request-id
|
||||
- request-validation
|
||||
- response-rewrite
|
||||
- rocketmq-logger
|
||||
- server-info
|
||||
- serverless-post-function
|
||||
- serverless-pre-function
|
||||
- skywalking
|
||||
- skywalking-logger
|
||||
- sls-logger
|
||||
- splunk-hec-logging
|
||||
- syslog
|
||||
- tcp-logger
|
||||
- traffic-split
|
||||
- ua-restriction
|
||||
- udp-logger
|
||||
- uri-blocker
|
||||
- wolf-rbac
|
||||
- zipkin
|
||||
- elasticsearch-logge
|
||||
- openfunction
|
||||
- tencent-cloud-cls
|
||||
- ai
|
||||
- cas-auth
|
||||
- loki-logger
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user