1 Star 0 Fork 4

PHP-Daemon/tp6-mall

forked from calm/tp6-mall 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tp6.mall.singwa.com.conf 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
calm 提交于 2020-08-15 14:14 +08:00 . chenz init
server {
listen 8082;
server_name localhost;
#charset koi8-r;
access_log logs/tp6.mall.singwa.com.access.log main;
error_log logs/tp6.mall.singwa.com.error.log;
location / {
root /Users/wangxinhua03/htdcos/imooc/imooc_tp6_mall_singwa_new/public;
index index.html index.htm index.php;
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
root /Users/wangxinhua03/htdcos/imooc/imooc_tp6_mall_singwa_new/public;
fastcgi_pass 127.0.0.1:9001;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/PHP-Daemon/tp6-mall.git
git@gitee.com:PHP-Daemon/tp6-mall.git
PHP-Daemon
tp6-mall
tp6-mall
master

搜索帮助