123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- apis:
- - name: fc-rcs-api
- uris: /api/v1/fed
- upstream_url: http://rcs-server:8080/api/v1/fed
- - name: auth-center-api
- uris: /api/v1/registry
- upstream_url: http://auth-center:8080/api/v1/registry
- - name: fc-bot-api
- uris: /api/v1/fc/bot
- upstream_url: http://bot-center:8080/api/v1/fc/bot
- - name: uac-bot-api
- uris: /api/v1/uac/bot
- upstream_url: http://bot-center:8080/api/v1/uac/bot
- - name: netdisk-api
- uris: /api/v1/netdisk
- #upstream_url: http://netdisk:9999/api/v1/netdisk
- upstream_url: https://api.finogeeks.club/api/v1/netdisk
- - name: homeserver-staff-api
- uris: /_matrix
- upstream_url: http://192.168.10.15:8008/_matrix
- - name: adapter-api
- uris: /api/v1/fsc
- upstream_url: http://staffaccount:8080/api/v1/fsc
- - name: password-adapter
- uris: /api/v1/fsc/users/\S+/password
- upstream_url: http://login-provider:3000
- strip_uri: false
- #uris: /api/v1/fsc/users
- #upstream_url: http://login-provider:3000/api/v1/fsc/users
- - name: search-api
- uris: /api/v1/fsc/local/search
- upstream_url: http://staffaccount:8080/api/v1/fsc/local/search
- - name: platform-api
- uris: /api/v1/platform
- upstream_url: http://platform-api:3000/api/v1/platform
- - name: fc-uac-api
- uris: /api/v1/uac
- upstream_url: http://uac-server:8080/api/v1/uac
- - name: fc-uac-api
- uris: /api/v1/uac
- upstream_url: http://uac-server:8080/api/v1/uac
- - name: hs-staff-client-api-wrapper
- uris: /api/v1/finochat/client
- upstream_url: http://192.168.10.15:8008/_matrix/client/r0
- - name: tag-server
- uris: /api/v1/tag
- upstream_url: http://tag-server:9900/api/v1/tag
- plugins:
- - name: jwt-conf
- plguin_type: jwt
- target_api: fdc-api-needauth,fc-staff-api,fc-rcs-api,fc-uac-api,search-api
- config:
- uri_param_names: jwt
- secret_is_base64: false
- - name: ratelimiting-conf-01
- plguin_type: rate-limiting
- target_api: fdc-api-needauth
- config:
- second: 10
- minute: 100
- hour: 1800
- limit_by: consumer
- - name: blocked-api-conf # 屏蔽 API 插件
- plguin_type: request-termination
- target_api: blocked-routes
- config:
- status_code: 403
- message: forbidden
|