ngix 文件浏览器 文件服务器
nginx配置
...
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
root /opt/boss-html;
index index.html index.htm;
}
location /files {
alias /usr/local/axure/workspace/git_home/;
charset utf-8;
autoindex on; # 索引
autoindex_exact_size off; # 显示文件大小
autoindex_localtime on; # 显示文件时间
}
...Jenkins配置 实现自动部署
Last updated