port = 8080 js_config = "test_config.js" [sites] [sites."example.com"] hostname = "example.com" [[sites."example.com".routes]] type = "static" path_pattern = "/*" root = "./public" index = ["index.html", "index.htm"] directory_listing = false [[sites."example.com".routes]] type = "reverse_proxy" path_pattern = "/api/*" target = "http://localhost:3000" [sites."api.example.com"] hostname = "api.example.com" [[sites."api.example.com".routes]] type = "reverse_proxy" path_pattern = "/*" target = "http://backend:3001" [sites."static.example.com"] hostname = "static.example.com" [[sites."static.example.com".routes]] type = "static" path_pattern = "/*" root = "./static" index = ["index.html"]