Sign inSign up

hankcp/nginx-upload

By hankcp

•Updated about 4 years ago

Image
0

566

hankcp/nginx-upload repository overview

This docker image compile nginx-upload-module⁠ as dynamic library, and initialize upload folder structure. It also use nginx lua module⁠ to process file after uploading.

⁠Usage
⁠Pull image from Docker Hub
docker pull hankcp/nginx-upload:latest
⁠Build image
docker build -t nginx-upload:latest
⁠Run in container
docker run --name nginx-upload -v ./nginx/upload:/opt/upload -v ./nginx/log:/var/log/nginx -p 8070:8070 nginx-upload
⁠Volumn Mount Point
  • /opt/upload
    • upload home directory
  • /opt/res
    • extra static file resource
  • /opt/script/extra
    • extra Lua script.
  • /etc/nginx/conf.d/extra
    • extra Nginx config
  • /var/log/nginx
    • nginx log
⁠Use Network Port

8070

Tag summary

Content type

Image

Digest

Size

191.1 MB

Last updated

over 6 years ago

docker pull hankcp/nginx-upload