{ "admin": { "listen": ":2019" }, "apps": { "http": { "servers": { "secure_server": { "listen": [":8443"], "routes": [ { "match": [ { "matcher": "path", "paths": ["/api/*", "/ws"] } ], "handle": [ { "handler": "file_sync", "root": "./sync-data", "enable_upload": true } ] }, { "handle": [ { "handler": "file_server", "root": "./web-ui" } ] } ], "tls": { "certificates": [ { "certificate": "./cert.pem", "key": "./key.pem", "subjects": ["localhost", "127.0.0.1"] } ] } } } } } }