Commit d9e2eb21 authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 5234bf01
...@@ -108,6 +108,10 @@ build_nginx() { ...@@ -108,6 +108,10 @@ build_nginx() {
proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Real-IP \$remote_addr;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
} }
location /doc/ {
root ${PROJECT_EXECPATH};
index api.html;
}
location /file/fileupload/ { location /file/fileupload/ {
alias /mortals/app/data/file/fileupload/; alias /mortals/app/data/file/fileupload/;
autoindex on; autoindex on;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment