Skip to content

hank-cp/docker-nginx-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published