mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
Assets (static files) server
The example demonstrates how to use reproxy.io for static content serving
- embed is a Dockerfile embedding assets into container and serving them with reproxy.
Build it with
docker build -t example .and run withdocker -it --rm -p 80:80 example. Hithttp://localhost/index.html(orhttp://localhost) andhttp://localhost/1.html. Alternatively usedocker-compose build && docker-compose up - external demonstrates how to serve assets from docker's volume (host's file system). The same as above, but you can also edit files inside
assetsand see the changed responses.