# Server configuration is also provided by specifying a TOML file with the # following values host = "127.0.0.1" port = 7878 # quiet = false # root_dir = "./" # graceful_shutdown = false # index = false # spa = false # [tls] # cert = "cert.pem" # key = "key.pem" # [cors] # allow_credentials = false # allow_headers = ["content-type", "authorization", "content-length"] # allow_methods = ["GET", "PATCH", "POST", "PUT", "DELETE"] # allow_origin = "example.com" # expose_headers = ["*", "authorization"] # max_age = 600 # request_headers = ["x-app-version"] # request_method = "GET" # [compression] # gzip = true # [basic_auth] # username = "John" # password = "Appleseed" # [proxy] # url = "https://example.com"