1.在目标盘(F盘)下新建文件夹 ,并重命名
2.右键gitcheckout
3.复制路径
4.ok
*****
1.打开nginx文件
2.点开conf/HBApi.conf
3.配置
~~~
server {
listen 8888;
server_name 172.16.6.72;
client_header_buffer_size 512k;
large_client_header_buffers 4 512k;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root D:/HBMS/Pages/start;
index index.html;
}
location /src/ {
root D:/HBMS/Pages;
index index.html;
}
# location /sewage/api/ {
# proxy_set_header Host $host;
# proxy_set_header X-Real-Ip $remote_addr;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_pass http://172.16.0.101:2000/;
# client_max_body_size 200m;
# }
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
~~~
更改端口号和路径即可
4.stop 之后 startup