32 lines
775 B
JSON
32 lines
775 B
JSON
{
|
|
"headless": {
|
|
"watch": true,
|
|
"tls": {
|
|
"certificates": [
|
|
{ "cert_file": "/etc/ssl/app/fullchain.pem", "key_file": "/etc/ssl/app/privkey.pem" }
|
|
],
|
|
"directories": ["/etc/letsencrypt/live"]
|
|
}
|
|
},
|
|
"vhosts": [
|
|
{
|
|
"id": "app",
|
|
"force_ssl": true,
|
|
"websockets": true,
|
|
"forward_client_ip": true,
|
|
"frontend": { "hosts": ["app.example.com", "www.app.example.com"] },
|
|
"backends": [
|
|
{ "id": "app-1", "url": "http://127.0.0.1:3001", "allow_private": true }
|
|
]
|
|
},
|
|
{
|
|
"id": "shop",
|
|
"force_ssl": true,
|
|
"frontend": { "hosts": ["shop.example.com"] },
|
|
"backends": [
|
|
{ "id": "shop-1", "url": "http://127.0.0.1:3002", "allow_private": true }
|
|
]
|
|
}
|
|
]
|
|
}
|