- Introduced NotificationTemplate model for reusable external notification templates. - Implemented CRUD operations for external templates in NotificationService. - Added routes for managing external templates in the API. - Created frontend API methods for external templates. - Enhanced Notifications page to manage external templates with a form and list view. - Updated layout and login pages to improve UI consistency. - Added integration tests for proxy host management with improved error handling.
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"apps": {
|
|
"http": {
|
|
"servers": {
|
|
"charon_server": {
|
|
"listen": [
|
|
":80",
|
|
":443"
|
|
],
|
|
"routes": [
|
|
{
|
|
"handle": [
|
|
{
|
|
"handler": "rewrite",
|
|
"uri": "/unknown.html"
|
|
},
|
|
{
|
|
"handler": "file_server",
|
|
"root": "/app/frontend/dist"
|
|
}
|
|
],
|
|
"terminal": true
|
|
}
|
|
],
|
|
"automatic_https": {},
|
|
"logs": {
|
|
"default_logger_name": "access_log"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"logging": {
|
|
"logs": {
|
|
"access": {
|
|
"writer": {
|
|
"output": "file",
|
|
"filename": "/app/data/logs/access.log",
|
|
"roll": true,
|
|
"roll_size_mb": 10,
|
|
"roll_keep": 5,
|
|
"roll_keep_days": 7
|
|
},
|
|
"encoder": {
|
|
"format": "json"
|
|
},
|
|
"level": "INFO",
|
|
"include": [
|
|
"http.log.access.access_log"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"storage": {
|
|
"module": "file_system",
|
|
"root": "/app/data/caddy/data"
|
|
}
|
|
}
|