init: Initial commit

This commit is contained in:
Björn Benouarets
2026-02-05 18:37:59 +01:00
parent 31f5b4081a
commit 07474afae9

View File

@@ -7,22 +7,20 @@ gateway:
- logger - logger
proxies: proxies:
- id: "secnex-dev" - id: "proxy-id"
host: "dev.secnex.io" host: "example.com"
target: "http://localhost:3003" target: "http://backend:3000"
apis: apis:
- id: "secnex-dev" - id: "api-id"
target: "https://httpbin.org" target: "https://api.example.com"
- id: "secnex-public"
target: "https://httpbin.org"
routes: routes:
- id: "secnex-dev" - id: "route-id"
path: "/api/v1/dev/*" path: "/api/v1/*"
strip_prefix: strip_prefix:
enabled: true enabled: true
prefix: "/api/v1/dev" prefix: "/api/v1"
security: security:
auth: auth:
enabled: true enabled: true
@@ -33,25 +31,4 @@ routes:
exclude: [] exclude: []
waf: waf:
enabled: true enabled: true
methods: ["*"] methods: ["GET", "POST"]
ip_addresses:
allow:
- "127.0.0.1"
block:
- "127.0.0.2"
- id: "secnex-public"
path: "/api/v1/public/*"
strip_prefix:
enabled: true
prefix: "/api/v1/public"
security:
auth:
enabled: false
type: "session"
header: "Authorization"
path:
include: []
exclude: []
waf:
enabled: true
methods: ["GET"]