README.md

This commit is contained in:
Ara Sadoyan
2025-04-15 19:53:07 +02:00
parent 0a6f501e2c
commit 0b9b0f5704
3 changed files with 151 additions and 16 deletions

View File

@@ -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:
"/":