Merge branch 'master' of https://github.com/jamebal/jmal-cloud-view
This commit is contained in:
commit
af3a0a7d62
13
README.md
13
README.md
@ -30,10 +30,8 @@ server {
|
|||||||
server_name xxx;
|
server_name xxx;
|
||||||
# 2.这填写为dist.tar解压后的路径
|
# 2.这填写为dist.tar解压后的路径
|
||||||
root xxx;
|
root xxx;
|
||||||
|
client_max_body_size 50m;
|
||||||
client_body_temp_path /Users/jmal/temp/filetest/rootpath;
|
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/;
|
||||||
@ -55,11 +53,6 @@ server {
|
|||||||
proxy_send_timeout 500s;
|
proxy_send_timeout 500s;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /articles {
|
|
||||||
proxy_pass http://localhost:8088/articles;
|
|
||||||
proxy_set_header Host $proxy_host;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ \.(eot|otf|ttf|woff|woff2|svg)$ {
|
location ~ \.(eot|otf|ttf|woff|woff2|svg)$ {
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
@ -74,7 +67,7 @@ server {
|
|||||||
|
|
||||||
`java -jar clouddisk-2.0-exec.jar --spring.profiles.active=prod --file.rootDir=xxx`
|
`java -jar clouddisk-2.0-exec.jar --spring.profiles.active=prod --file.rootDir=xxx`
|
||||||
|
|
||||||
其中`file.rrootDir`为网盘文件真实的存储的位置
|
其中`file.rootDir`为网盘文件真实的存储的位置
|
||||||
|
|
||||||
#### 4.访问
|
#### 4.访问
|
||||||
在浏览器里直接输入你的IP或域名即可
|
在浏览器里直接输入你的IP或域名即可
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user