Created proxy wide authentication

This commit is contained in:
Ara Sadoyan
2025-04-14 19:01:09 +02:00
parent e5782414dd
commit 0a6f501e2c
12 changed files with 141 additions and 51 deletions

View File

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