Update README.md
This commit is contained in:
parent
899702170d
commit
4f4b70a38e
@ -21,7 +21,7 @@ JmalCloud 是一款私有云存储网盘项目
|
|||||||
|
|
||||||
下载后解压到某个地方
|
下载后解压到某个地方
|
||||||
|
|
||||||
nginx配置如下: (只需要修改三个地方)
|
nginx配置如下: (只需要修改两个地方)
|
||||||
|
|
||||||
```nginx
|
```nginx
|
||||||
server {
|
server {
|
||||||
@ -30,10 +30,8 @@ server {
|
|||||||
server_name xxx;
|
server_name xxx;
|
||||||
# 2.这填写为dist.tar解压后的路径
|
# 2.这填写为dist.tar解压后的路径
|
||||||
root xxx;
|
root xxx;
|
||||||
# 3.为承载客户端请求的临时目录
|
client_max_body_size 50m;
|
||||||
client_body_temp_path xxx;
|
client_body_buffer_size 512k;
|
||||||
client_max_body_size 100m;
|
|
||||||
client_body_buffer_size 100m;
|
|
||||||
|
|
||||||
location /api {
|
location /api {
|
||||||
proxy_pass http://localhost:8088/;
|
proxy_pass http://localhost:8088/;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user