A simple Nginx container to expose a folder's contents via HTTP.
565
Perhaps not the best name for the repository but as we know, naming things is difficult. I didn't bother searching if there already exists an image which provides this functionality, I get to customize this for my own needs :)
At the moment source code is located at https://github.com/nikonyrh/docker-scripts/tree/master/nginx_bridge
Usage:
docker run -p 1234:80 -v "$PWD:/volume" -it nikonyrh/nginx_bridgewget servername:1234/filename.zipOptional parameters:
-no-logs: Disable access logs at /conf/logs.txt--auth user:password: Enable basic authentication-ssl or -tls: enable self-signed cert and TLS configuration (remember to publish port 443).Alternatively use daemon mode and leave it running there for future use. Access log is found at servername:1234/conf/logs.txt
Future development:
Content type
Image
Digest
Size
68.5 MB
Last updated
over 8 years ago
docker pull nikonyrh/nginx_bridge