硬件配置 硬盘:1个,20GB 网卡:1 个,1Gbps CPU:1个 内存1GB 软件版本 centos 8...
nginx 加密控制访问
location / { index index.php; auth_basic "hello!"; auth...
nginx http和https反向代理的配置
HTTP反向代理 server { listen 80; server_name docs.pony.hk; ...
centos + nginx + php + mysql + java 内存性能调优
系统内存2GB,规划分配给tmpfs /dev/shm 占用内存512MB,swap文件分区占用硬盘1024M...
nginx 配置负载均衡的缓存设置
直接上代码 /etc/nginx/nginx: user root root; worker_p...
nginx负载均衡+反向代理/rewrite,端口不一样造成网址无法访问的问题分析
问题描述:A机开启80端口,负载均衡所有网址到B机的8888端口和C机的8888端口,B机配置了一个反向代理,...
nginx 配置负载均衡
web服务器1:192.168.1.101 web服务器2:192.168.1.102 负载均衡服务器:192...
centos7.3 64bit + nginx1.11.10 + mysql5.6.35 + php7.0.16 + tomcat6.0.39 + java 1.6.0环境搭建
规划: 软件版本: centos 7.3 64bit mysql 5.6.35 nginx 1.11.10 安...
CentOS7 SELinux PHP的 404 File not found
暴力解决:把SELinux从Enforcing切换到Permissive。(临时修改setenforce Pe...
nginx配置https
1.1检查Nginx的SSL模块是否安装 [root@web-node1~]# /application/ng...
centos6.4 64bit+nginx+mysql+php环境搭建
规划: 硬盘0 :20GB,硬盘1 :20GB,硬盘2: 5GB 网卡0: host-only,网卡1: br...
nginx添加模块ngx_log_if-master
先下载模块https://github.com/cfsego/ngx_log_if到目录/usr/local/...