摘要:
1、问题 server { listen 8011; server_name test.cn; location ~ \.php?.*$ { root /home/zhj/; #fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $d 阅读全文
posted @ 2021-02-25 16:10
!!雪莲花!!
阅读(372)
评论(0)
推荐(0)
摘要:
1、部署 wget https://github.com/muesli/duf/releases/download/v0.5.0/checksums.txt wget https://github.com/muesli/duf/releases/download/v0.5.0/duf_0.5.0_l 阅读全文
posted @ 2021-02-25 10:18
!!雪莲花!!
阅读(373)
评论(0)
推荐(0)
摘要:
前提:关闭防火墙,关闭selinux 1、主备配置 主 vim keeplived-lb01.confglobal_defs { router_id LVS_01 } vrrp_instance VI_1 { state MASTER interface eth0 virtual_router_id 阅读全文
posted @ 2021-02-25 09:51
!!雪莲花!!
阅读(90)
评论(0)
推荐(0)
摘要:
server { listen 80; server_name zhj.bjedu.com; rewrite ^/(.*) https://zhj.bjedu.com/$1 permanent; } server { listen 443 ssl; server_name zhj.bjedu.com 阅读全文
posted @ 2021-02-25 09:28
!!雪莲花!!
阅读(122)
评论(0)
推荐(0)
摘要:
server { listen 80 default; server_name _; if ($host ~ "\d+\.\d+\.\d+\.\d") { return 404; } } 阅读全文
posted @ 2021-02-25 09:25
!!雪莲花!!
阅读(82)
评论(0)
推荐(0)
摘要:
worker_processes 4; worker_cpu_affinity 0001 0010 0100 1000; user nginx; events { worker_connections 1024; } http { include mime.types; default_type a 阅读全文
posted @ 2021-02-25 09:24
!!雪莲花!!
阅读(152)
评论(0)
推荐(0)
摘要:
1 系统版本 CentOS Linux release 6.0.1708 (Core) 2 编译安装前所需要的准备: 1.GCC编译器 首先检查GCC是否安装,命令:gcc -v ,如果显示有相关版本信息,则说明已经安装好,没有就安装: yum install -y gcc # -y参数表示一直确认 阅读全文
posted @ 2021-02-25 09:14
!!雪莲花!!
阅读(104)
评论(0)
推荐(0)
浙公网安备 33010602011771号