1 Star 1 Fork 3

南曲十三调/print

forked from NewFuture/print 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.yaml 946 Bytes
一键复制 编辑 原始数据 按行查看 历史
New-Future 提交于 2015-03-30 10:58 . edit sae yaml ,add sch_id in UserModel
name: nkuprint
handle:
- rewrite: if(!is_dir() && !is_file() && path~"^(.*)$") goto "index.php/$1"
- compress: if ( out_header["Content-type"] ~ "text/css" ) compress
- compress: if ( out_header["Content-type"] ~ "text/javascript" ) compress
- compress: if ( out_header["Content-type"] ~ "image/png" ) compress
- compress: if ( out_header["Content-type"] ~ "image/jpeg" ) compress
- compress: if ( out_header["Content-type"] ~ "text/html" ) compress
- hostaccess: if(path == "/backup.php") allow "10.0.0.0/8"
- hostaccess: if (%{REQUEST_URI} ~*"/Common/") allow "0.0"
- hostaccess: if (%{REQUEST_URI} ~*"/API/") allow "0.0"
- hostaccess: if (%{REQUEST_URI} ~*"/Print/") allow "0.0"
- hostaccess: if (%{REQUEST_URI} ~*"/ThinkPHP/") allow "0.0"
- expire: if( path ~ "Public" ) time 2592000
- expire: if( path ~ "favicon.ico" ) time 360000
cron:
- description: backup
url: /backup.php
schedule: every day of month 04:32
timezone: Beijing
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/singkarlew/print.git
[email protected]:singkarlew/print.git
singkarlew
print
print
master

搜索帮助