CRProxy is a service and command line tool that allow you to serve web content from your local machine, or behind any firewall. It includes automatic certificate generation and custom hostnames.