mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 07:05:12 +00:00
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
|
{
|
||
|
"apps": {
|
||
|
"http": {
|
||
|
"servers": {
|
||
|
"srv0": {
|
||
|
"listen": [
|
||
|
":8448"
|
||
|
],
|
||
|
"routes": [
|
||
|
{
|
||
|
"match": [
|
||
|
{
|
||
|
"host": [
|
||
|
"{{ server_name }}"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"handle": [
|
||
|
{
|
||
|
"handler": "subroute",
|
||
|
"routes": [
|
||
|
{
|
||
|
"handle": [
|
||
|
{
|
||
|
"handler": "reverse_proxy",
|
||
|
"upstreams": [
|
||
|
{
|
||
|
"dial": "localhost:8008"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"terminal": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"tls": {
|
||
|
"automation": {
|
||
|
"policies": [
|
||
|
{
|
||
|
"subjects": [
|
||
|
"{{ server_name }}"
|
||
|
],
|
||
|
"issuers": [
|
||
|
{
|
||
|
"module": "internal"
|
||
|
}
|
||
|
],
|
||
|
"on_demand": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"pki": {
|
||
|
"certificate_authorities": {
|
||
|
"local": {
|
||
|
"name": "Complement CA",
|
||
|
"root": {
|
||
|
"certificate": "/complement/ca/ca.crt",
|
||
|
"private_key": "/complement/ca/ca.key"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|