code seems to require that the http & https dirs exist under published/.