|
|
@@ -54,3 +54,16 @@ |
|
|
|
> * 必须参数: tableId 表ID |
|
|
|
> * 可选参数: fileType 额外类型 |
|
|
|
> * 重定向到: `{remote_host}`/file/common/attach, 对应`{remote_host}`/common/attach |
|
|
|
|
|
|
|
|
|
|
|
> 客户服务器nginx配置代理 |
|
|
|
``` |
|
|
|
location /file_server { |
|
|
|
proxy_set_header Host $http_host; |
|
|
|
proxy_set_header X-Real-IP $remote_addr; |
|
|
|
proxy_set_header REMOTE-HOST $remote_addr; |
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
|
|
|
rewrite ^/file_server/(.*)$ /$1 break; |
|
|
|
proxy_pass http://localhost:8077; |
|
|
|
} |
|
|
|
``` |