2023-02-02 10:55:24 +01:00
|
|
|
logger:
|
|
|
|
level: 1
|
|
|
|
format: human
|
2023-03-08 17:30:31 +01:00
|
|
|
server:
|
|
|
|
http:
|
|
|
|
host: 0.0.0.0
|
|
|
|
port: 3000
|
|
|
|
database:
|
|
|
|
driver: sqlite
|
2023-04-06 15:06:16 +02:00
|
|
|
dsn: sqlite:///var/lib/emissary/data.sqlite?_pragma=foreign_keys(1)&_pragma=busy_timeout=60000
|
2023-03-08 17:30:31 +01:00
|
|
|
cors:
|
|
|
|
allowedOrigins: []
|
|
|
|
allowCredentials: true
|
|
|
|
allowMethods:
|
|
|
|
- POST
|
|
|
|
- GET
|
|
|
|
- PUT
|
|
|
|
- DELETE
|
|
|
|
allowedHeaders:
|
|
|
|
- Origin
|
|
|
|
- Accept
|
|
|
|
- Content-Type
|
|
|
|
- Authorization
|
|
|
|
- Sentry-Trace
|
2023-02-02 10:55:24 +01:00
|
|
|
debug: false
|
2023-07-26 15:14:49 +02:00
|
|
|
auth:
|
|
|
|
local:
|
|
|
|
privateKeyPath: /var/lib/emissary/server-key.json
|
|
|
|
roleExtractionRules:
|
|
|
|
- "jwt.role != nil ? str(jwt.role) : ''"
|
|
|
|
remote: ~
|
|
|
|
# jwksUrl: https://my-server/.well-known/jwks.json
|
|
|
|
|