2 Star 1 Fork 2

mirrors_leafo / lapis-chan

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nginx.conf 588 Bytes
一键复制 编辑 原始数据 按行查看 历史
karai17 提交于 2016-01-21 22:47 . Initial commit
worker_processes ${{NUM_WORKERS}};
error_log stderr notice;
daemon off;
pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
client_max_body_size 15m;
client_body_buffer_size 15m;
lua_package_path "";
lua_package_cpath "";
server {
listen ${{PORT}};
lua_code_cache ${{CODE_CACHE}};
location / {
default_type text/html;
content_by_lua '
require("lapis").serve("app")
';
}
location /static/ {
alias static/;
}
location /favicon.ico {
alias static/favicon.ico;
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_leafo/lapis-chan.git
git@gitee.com:mirrors_leafo/lapis-chan.git
mirrors_leafo
lapis-chan
lapis-chan
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891