https://github.com/thundernet8/cos-as-imageservice
Image upload/download service with Tecent COS
https://github.com/thundernet8/cos-as-imageservice
image-storage nodejs object-storage
Last synced: about 1 year ago
JSON representation
Image upload/download service with Tecent COS
- Host: GitHub
- URL: https://github.com/thundernet8/cos-as-imageservice
- Owner: thundernet8
- License: mit
- Created: 2017-08-07T07:49:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T04:23:35.000Z (over 3 years ago)
- Last Synced: 2024-04-14T10:53:54.678Z (about 2 years ago)
- Topics: image-storage, nodejs, object-storage
- Language: TypeScript
- Size: 170 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## COS-As-ImageService
Image upload/download service with Tecent COS
## Demo
[Demo site](https://fuli.news)
## 部署
### 申请腾讯云对象存储COS服务实例以及CDN服务(可选)
### 个人服务器安装
* [x] NodeJS
* [x] Redis(用于存储删除链接相关信息)
* [x] Nginx(反代上传以及删除接口服务至对应node端,上传静态页面位于web文件夹下,静态网站处理)
* [x] forever | pm2 (持久运行node程序)
### 环境变量
***重要的key,password等信息将作为环境变量,拷贝envrc.sample为envrc并填写必要的信息***
**注意:如果使用了CDN,要设置CDN管理该对象存储域名的HTTP Header,添加Content-Disposition:inline**
详细见[Help](./help.md)