mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 23:08:40 +08:00
README.md
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
provider: "file"
|
||||
# The file is under watch and hot reload , changes are applied immediately, no need to restart of reload app
|
||||
provider: "file" # consul
|
||||
globals:
|
||||
headers:
|
||||
- "Access-Control-Allow-Origin:*"
|
||||
- "Access-Control-Allow-Methods:POST, GET, OPTIONS"
|
||||
- "Access-Control-Max-Age:86400"
|
||||
# authorization:
|
||||
# authorization: # if enabled
|
||||
# - "basic"
|
||||
# - "zangag:Anhnazand1234"
|
||||
# - "apikey"
|
||||
# - "qweasdqweadhbk"
|
||||
consul:
|
||||
consul: # read only if provider is consul
|
||||
servers:
|
||||
- "http://master1:8500"
|
||||
- "http://192.168.22.1:8500"
|
||||
@@ -22,7 +23,7 @@ consul:
|
||||
- proxy: "proxy-backoffice-dev-backoffice-srv"
|
||||
real: "backoffice-dev-backoffice-srv"
|
||||
token: "8e2db809-845b-45e1-8b47-2c8356a09da0-a4370955-18c2-4d6e-a8f8-ffcc0b47be81"
|
||||
upstreams:
|
||||
upstreams: # read only if provider is files
|
||||
myip.netangels.net:
|
||||
paths:
|
||||
"/":
|
||||
|
||||
Reference in New Issue
Block a user