Public Repository

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

Built from

https://github.com/jimbasilio/html5-apache-docker

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.

ex.

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
Owner
jimbasilio

Comments (0)