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