8 Star 42 Fork 29

老张的哲学 / Blog.Vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vueblog.nginx.conf 871 Bytes
一键复制 编辑 原始数据 按行查看 历史
MandIand 提交于 2020-09-15 15:15 . try jenkins
worker_processes auto;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
gzip on;
gzip_min_length 5k;
gzip_buffers 4 16k;
gzip_comp_level 8;
sendfile on;
#tcp_nopush on;
keepalive_timeout 600;
#gzip on;
client_max_body_size 20m;
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
1
https://gitee.com/laozhangIsPhi/Blog.Vue.git
git@gitee.com:laozhangIsPhi/Blog.Vue.git
laozhangIsPhi
Blog.Vue
Blog.Vue
master

搜索帮助