https://github.com/ryo-manba/docker-nginx-upload
Simple upload server using nginx-upload-module.
https://github.com/ryo-manba/docker-nginx-upload
docker nginx
Last synced: about 1 month ago
JSON representation
Simple upload server using nginx-upload-module.
- Host: GitHub
- URL: https://github.com/ryo-manba/docker-nginx-upload
- Owner: ryo-manba
- License: mit
- Created: 2022-06-02T03:27:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-02T04:03:34.000Z (about 4 years ago)
- Last Synced: 2025-01-23T14:18:51.829Z (over 1 year ago)
- Topics: docker, nginx
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-nginx-upload
Simple upload server using [nginx-upload-module](https://www.nginx.com/resources/wiki/modules/upload/).
### Usage
```bash
docker build -t upload .
docker run -d -it -p 80:80 --name upload upload
# upload file
curl -X POST -F file1=@file_path localhost:80/upload
# find the file
docker exec -it upload bash
> cat upload/0000000001
```