VPay
4.4.0
master
分支版本为4.0系列全面重构的版本,仅支持支付宝当面付
;dev
分支版本为3.0系列稳定版本,仅支持支付宝当面付
;Vpay ——一款个人收款解决方案,使个人开发者能够安全高效地处理在线交易。
以下两种方案三选一
/public
if ($uri ~* "^(.*).php$") {
rewrite ^(.*) /cleanphp/bootstrap.php last;
}
location @cleanphp {
rewrite ^ /cleanphp/bootstrap.php last;
}
location ~* ^/@static(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/index.html =404 last;
}
location ~* ^/@(.*)$ {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public$1 /app/public/$1 /app/public$1/index.html /app/public/$1/index.html /app/public/index.html last;
}
location / {
if_modified_since before;
expires 30d;
access_log off;
add_header Cache-Control "public";
try_files /app/public/$uri @cleanphp;
}
location ~ .*.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
error_log /dev/null;
access_log /dev/null;
}
location ~ .*.(js|css)?$
{
expires 12h;
error_log /dev/null;
access_log /dev/null;
}
参考vpay-sdk进行接入
阅读文档
GPL V3