码迷,mamicode.com
首页 >  
搜索关键字:nginx+php (fastcgi)常见502和504解决思路分享    ( 1946个结果
提升学习架构总结
1.选择nginx的理由(1)支持高并发;(官方5w并发,实测3w并发,因为采用epoll网络IO模型)(2)内存消耗少;(nginx+php-fcgi在3w并发下开启10个nginx进程,消耗150mb内存,64个nginx进程消耗内存1280mb)(3)成本低廉;(开源免费,可用于商业,相对硬件f5成本低)(4)节省带宽;(5)稳定高;(6)内置健康检查功能;(7)支持反向代理;(8)支持负载
分类:其他好文   时间:2020-11-18 13:12:21    阅读次数:9
【Docker】命令 diff
参考教程:https://docs.docker.com/engine/reference/commandline/diff/ 环境 virtual box 6.1 centos 7.8 docker 19.03 命令格式 docker diff CONTAINER 检查容器中哪些文件发生了变更。 ...
分类:其他好文   时间:2020-10-29 09:31:51    阅读次数:17
fcgi原理和异步模型
1. 介绍 由于CGI解释器的反复加载会使CGI性能低下,FastCGI可以将CGI解释器保持在内存中, 提高性能相关地址:https://fastcgi-archives.github.io 2. Fastcgi特点: 性能 简单,容易移植 语言无关 进程隔离 通用性,主流WebServer都支持 ...
分类:其他好文   时间:2020-10-13 17:51:24    阅读次数:42
nginx用户认证和访问日志
Nginx用户认证配置用户认证:以bbs.jinkai.cc.conf为例vim/etc/nginx/conf.d/bbs.jinkai.cc.conf添加location~admin.php{auth_basic"Auth";auth_basic_user_file/etc/nginx/user_passwd;fastcgi_pass127.0.0.1:9000;fastcg
分类:其他好文   时间:2020-09-23 23:12:54    阅读次数:38
Dockerfile构建nginx、php和tomcat镜像以及搭建企业级harbor
1、使用dockerfile制作nginx+php-fpm镜像,实现lnmp。1.1制作基础镜像[root@offlinebase]#catDockerfileFROMcentos:centos7.8.2003MAINTAINERRICKZHURUNyuminstallwget-y\&&rm-rf/etc/yum.repos.d/*.repo\&&wget-O/et
分类:Web程序   时间:2020-09-21 12:07:12    阅读次数:45
Nginx配置文件(举例)
# vim /usr/local/nginx/conf/nginx.conf user dywww dywww; worker_processes auto; error_log /dydata/wwwlogs/error_nginx.log crit; pid /var/run/nginx.pid ...
分类:其他好文   时间:2020-08-13 22:17:03    阅读次数:61
dockerfile源码编译安装nginx、php和harbor
docker源码编译安装nginx、php、harbor
分类:Web程序   时间:2020-08-10 14:33:42    阅读次数:85
遇到一个第三方后台cms安装失败的问题
tp5安装第三方的cms后台 总是遇到File not found的问题 在var/log/nginx/error.log中发现是这个错误 [error] 3926#0: *33481 FastCGI sent in stderr: "Primary script unknown" while re ...
分类:其他好文   时间:2020-08-09 14:22:45    阅读次数:82
nginx虚拟目录配置+重定向
location /php/ { alias /usr/share/nginx/php/; index index.html index.htm index.php; if (!-e $request_filename) { rewrite ^/php/(.*)$ /php/index.php?s= ...
分类:其他好文   时间:2020-07-30 22:05:36    阅读次数:75
web php wrong nginx config
web php wrong nginx config 题目描述 无 解题过程 信息收集 环境 ubuntu nginx/1.10.3 php 御剑扫描 发现robots.txt和/admin/ robots.txt 里面放了两个文件名hint.php和Hack.php 依次访问 hint.php 内 ...
分类:Web程序   时间:2020-07-28 14:25:48    阅读次数:100
1946条   上一页 1 2 3 4 ... 195 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!