https://github.com/ledccn/webman_plugin_go-fastdfs
Webman plugin ledc/go-fastdfs;基于webman编写的用户自定义验证接口,适用于go-fastdfs分布式文件系统`auth_token`验证。
https://github.com/ledccn/webman_plugin_go-fastdfs
Last synced: 2 months ago
JSON representation
Webman plugin ledc/go-fastdfs;基于webman编写的用户自定义验证接口,适用于go-fastdfs分布式文件系统`auth_token`验证。
- Host: GitHub
- URL: https://github.com/ledccn/webman_plugin_go-fastdfs
- Owner: ledccn
- Created: 2023-08-02T05:40:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-09T01:32:27.000Z (almost 3 years ago)
- Last Synced: 2025-01-01T18:41:41.201Z (over 1 year ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webman plugin ledc/go-fastdfs
## 安装
```
composer require ledc/go-fastdfs
```
## 简介
基于webman编写的用户自定义验证接口,适用于go-fastdfs分布式文件系统`auth_token`验证。
## 配置
- 项目目录下:`/config/plugin/ledc/go-fastdfs/app.php`
- Nginx配置
```php
location /upload/auth {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://127.0.0.1:8787;
}
```
## go-fastdfs
基于http协议的分布式文件系统,它基于大道至简的设计理念,一切从简设计,使得它的运维及扩展变得更加简单,它具有高性能、高可靠、无中心、免维护等优点。
- 源码:https://github.com/sjqzhang/go-fastdfs
- 文档:https://sjqzhang.github.io/go-fastdfs/