1 Star 0 Fork 104

afeng/vmaig_blog

forked from billvsme/vmaig_blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nginx.conf 616 Bytes
一键复制 编辑 原始数据 按行查看 历史
billvsme 提交于 2016-12-23 23:36 . Add https config
server {
listen 80 default_server;
access_log /var/log/nginx/nginx.access.log;
error_log /var/log/nginx/nginx.error.log;
location /static/ {
alias /vmaig_blog/static/;
}
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://127.0.0.1:8000/;
}
cation ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /home/wwwroot/linuxstory.org/;
}
location = /.well-known/acme-challenge/ {
return 404;
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/afengsoft/vmaig_blog.git
[email protected]:afengsoft/vmaig_blog.git
afengsoft
vmaig_blog
vmaig_blog
master

搜索帮助