修改NGINX配置,开启访问日志及错误日志
server
{
listen 80;
#listen [::]:80;
server_name www.quanjieshop.com;
index index.html index.htm index.php default.html default.htm default.php;
root /quanjie/www.quanjieshop.com;
include none.conf;
#error_page 404 /404.html;
# Deny access to PHP files in specific directory
#location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; }
#include enable-php.conf;
include enable-php-pathinfo.conf;
include thinkphp.conf;
include fastcgi.conf;
{
if (!-e $request_filename)
{
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /.well-known {
allow all;
}
location ~ /\.
{
deny all;
}
client_body_buffer_size 256M;
client_max_body_size 256M;
access_log /home/wwwlogs/www.quanjieshop.com.log; 开启访问日志
error_log /home/wwwlogs/error.quanjieshop.com.log debug; 开启错误日志 日志等级 debug
}
https://www.cnblogs.com/gnoc/p/4866788.html
java多线程及线程池。 转载
https://blog.csdn.net/qq_39403545/article/details/84072739
Composer 的安装
http://www.runoob.com/w3cnote/composer-install-and-usage.html