mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-29 22:38:36 +08:00
Created proxy wide authentication
This commit is contained in:
@@ -4,6 +4,11 @@ globals:
|
||||
- "Access-Control-Allow-Origin:*"
|
||||
- "Access-Control-Allow-Methods:POST, GET, OPTIONS"
|
||||
- "Access-Control-Max-Age:86400"
|
||||
# authorization:
|
||||
# - "basic"
|
||||
# - "zangag:Anhnazand1234"
|
||||
# - "apikey"
|
||||
# - "qweasdqweadhbk"
|
||||
consul:
|
||||
servers:
|
||||
- "http://master1:8500"
|
||||
@@ -17,10 +22,6 @@ consul:
|
||||
- proxy: "proxy-backoffice-dev-backoffice-srv"
|
||||
real: "backoffice-dev-backoffice-srv"
|
||||
token: "8e2db809-845b-45e1-8b47-2c8356a09da0-a4370955-18c2-4d6e-a8f8-ffcc0b47be81"
|
||||
# whitelist:
|
||||
# - "frontend-dev-frontend-srv"
|
||||
# - "gateway-test-gateway-srv"
|
||||
# - "gateway-stage-gateway-srv"
|
||||
upstreams:
|
||||
myip.netangels.net:
|
||||
paths:
|
||||
|
||||
Reference in New Issue
Block a user