nginx
fareast_mzh
善假于物
展开
-
nginx 静态资源文件映射
模板文件/source映射到http//s.bjp-sp1.com。隐藏入口文件index.php。原创 2022-07-25 10:15:38 · 1451 阅读 · 0 评论 -
nginx php-fpm 502 php-fpm.sock
[root@workspace: /etc/php/7.4/fpm/pool.d] # grep --color=auto "listen = " www.conf; listen = /run/php/php7.4-fpm.socklisten = 127.0.0.1:9000原创 2021-06-04 09:47:12 · 379 阅读 · 1 评论 -
nginx open_basedir restriction in effect is not within the allowed path(s) 解决办法
2020/05/03 13:42:17 [error] 26592#0: *102733 FastCGI sent in stderr: "PHP message: PHP Warning: require(): open_basedir restriction in effect\. File(/workspace/yoshop/bestshop-php/source/thinkphp/st...原创 2020-05-03 13:51:04 · 1417 阅读 · 0 评论 -
解决nginx出现 413 Request Entity Too Large 的问题
上传图片出现413 Request Entity Too Large, web服务用的nginx同时上传了3个图片,每个0.5M, nginx 配置项client_max_body_size默认多少M? * 修改php.inisudo emacs /etc/php5/fpm/php.ini# upload_max_filesize = 2Mupload_max_files...原创 2019-02-13 16:05:55 · 239 阅读 · 0 评论 -
nginx配置模板, nginx wordpress URL重写 urlrewrite
default.confserver { listen 80; server_name crm.xxxx.com; set $root_path '/usr/public/crm'; client_max_body_size 10m; root $root_path; ...原创 2019-05-30 09:45:02 · 1353 阅读 · 0 评论 -
nginx 413 Entity Too Large
*/usr/local/nginx/conf/nginx.confclient_max_body_size 512m;$ sudo /usr/local/nginx/sbin/nginx -tnginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is oknginx: configu...原创 2019-06-26 16:29:57 · 263 阅读 · 0 评论 -
nginx no input file specified
/usr/local/php/etc/php.inicgi.force_redirect = 0;项目发布目录:.htaccessRewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ /index.php...原创 2019-09-13 23:03:53 · 259 阅读 · 0 评论