Source

fabulator / src / fabulator / core / http / __init__.py

Full commit
1
2
3
4
5
6
7
8
from nginx import Nginx

webservers = {
    "nginx" : Nginx,
}

def http_factory(webserver, conf):
    return webservers[webserver.lower()](conf)