humphrey_server 0.6.1

A Performance-Focused, Dependency-Free Web Server.
Documentation
# Valid configuration test case.
# A pretty generic configuration with some comments and most fields specified.

server {
    address    "0.0.0.0"
    port       80
    threads    32

    host "localhost" {
        route / {
            redirect "/app/dev"
        }
    }

    host "*.example.com" {
        route / {
            redirect "/app/prod"
        }
    }

    route /* {
        directory "/var/www"
    }
}