mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-29 22:38:36 +08:00
Standardization or JWT, JWT as URL param
This commit is contained in:
@@ -6,13 +6,13 @@ globals:
|
||||
- "Access-Control-Allow-Methods:POST, GET, OPTIONS"
|
||||
- "Access-Control-Max-Age:86400"
|
||||
- "X-Custom-Header:Something Special"
|
||||
# authorization: # Optional, only one of auth methods below can be active at a time
|
||||
# - "basic"
|
||||
# - "zangag:Anhnazand1234"
|
||||
# - "apikey"
|
||||
# - "5a28cc4c-ce10-4ff1-824e-743c38835f5c"
|
||||
# - "jwt"
|
||||
# - "910517d9-f9a1-48de-8826-dbadacbd84af-cb6f830e-ab16-47ec-9d8f-0090de732774"
|
||||
authorization: # Optional, only one of auth methods below can be active at a time
|
||||
# - "basic"
|
||||
# - "zangag:Anhnazand1234"
|
||||
# - "apikey"
|
||||
# - "5a28cc4c-ce10-4ff1-824e-743c38835f5c"
|
||||
- "jwt"
|
||||
- "910517d9-f9a1-48de-8826-dbadacbd84af-cb6f830e-ab16-47ec-9d8f-0090de732774"
|
||||
consul: # If the provider is consul. Otherwise ignored
|
||||
servers:
|
||||
- "http://master1:8500"
|
||||
@@ -57,7 +57,12 @@ upstreams: # If provider is files. Otherwise ignored
|
||||
headers:
|
||||
- "X-Some-Thing:Yaaaaaaaaaaaaaaa"
|
||||
servers:
|
||||
- "192.168.1.1:8000"
|
||||
- "192.168.1.10:8000"
|
||||
- "127.0.0.1:8000"
|
||||
- "127.0.0.2:8000"
|
||||
- "127.0.0.3:8000"
|
||||
- "127.0.0.4:8000"
|
||||
glop.netangels.net:
|
||||
paths:
|
||||
"/":
|
||||
|
||||
Reference in New Issue
Block a user