星益云收银台系统部署测试过程记录

行云流水
2023-02-28 / 0 评论 / 224 阅读 / 正在检测是否收录...

前言

​ 聚合收银台系统是一款聚合全网支付平台收款的系统,集合了多种支付方式、多个支付平台接口的聚合系统。系统完全免费开源。

项目地址

(星益云)聚合收银台系统

安装过程

lnmp环境

docker和docker-compose一键安装脚本

nginx配置

server {
    listen       80;

    server_name  www.mytest.cn;
    root  /www/web/web/public;

    add_header X-Frame-Options "SAMEORIGIN";
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Content-Type-Options "nosniff";

    charset utf-8;

    index index.html index.htm index.php;
    location / {
        try_files $uri $uri/ /index.php$uri?$query_string;
    }

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    error_page 404 /index.php;

    location ~ \.php(.*)$ {
        fastcgi_pass   php:9000;
        fastcgi_index index.php;
        fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO  $fastcgi_path_info;
        fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
        include fastcgi_params;
    }

    location ~ /\.(?!well-known).* {
        deny all;
    }
}

页面安装

评论 (0)

取消
只有登录/注册用户才可评论