-
-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gateway): add cors and websocket (#142)
* feat: add cors and websocket * feat: init system app route * feat: opt dockerfile
- Loading branch information
Showing
17 changed files
with
91 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apisix: | ||
node_listen: 9080 # APISIX listening port | ||
enable_ipv6: false | ||
|
||
allow_admin: # http://nginx.org/en/docs/http/ngx_http_access_module.html#allow | ||
- 0.0.0.0/0 # We need to restrict ip access rules for security. 0.0.0.0/0 is for test. | ||
|
||
admin_key: | ||
- name: "admin" | ||
key: edd1c9f034335f136f87ad84b625c8f1 | ||
role: admin # admin: manage all configuration data | ||
# viewer: only can view configuration data | ||
- name: "viewer" | ||
key: 4054f7cf07e344346cd3f287985e76a2 | ||
role: viewer | ||
|
||
enable_control: true | ||
control: | ||
ip: "0.0.0.0" | ||
port: 9092 | ||
|
||
etcd: | ||
host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster. | ||
- "http://etcd:2379" # multiple etcd address | ||
prefix: "/apisix" # apisix configurations prefix | ||
timeout: 30 # 30 seconds |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.