Public Repository

Last pushed: 2 years ago
Short Description
sudo docker run --rm -v $(pwd)/dist:/usr/local/apache2/htdocs -p 8080:80 html5-httpd:latest
Full Description

Built from

Share volume you wish to host to the /usr/local/apache2/htdocs directory.

httpd.conf file will not return 404 for non-files requested (i.e. routing rules) but instead return back index.html in order to honor html5 pushState.


http://myhost/routing/rule will return index.html instead of 404.

http://myhost/coolimage.png will return 404 since this is for an actual file type.
Docker Pull Command