HTTPD configuration serving as a file server, Python web app server and reverse proxy.
Both the configuration directory and hosted directory can be versioned. Pass
the git repo addresses and branches as environment variables, as described in
stack.sample.env
.
- Proxy & reverse proxy
- WSGI
- SSL
- Rewrite
Defined in code:
/srv/portfolio
: served directory/srv/config
: HTTPD config files/ssh
: Place for SSH configuration
/srv
and /ssh
are marked as volumes in Dockerfile.
Advised directories:
/srv/certs
: An obvious place for SSL certificates