随笔分类 -  nginx技术

yum方式安装nginx
摘要:转载地址: https://blog.csdn.net/qq_34200979/article/details/123016644 1、添加CentOS 7 Nginx yum资源库 [root@localhost ~]# rpm -Uvh http://nginx.org/packages/cen 阅读全文

posted @ 2023-01-17 13:39 四海骄阳 阅读(280) 评论(0) 推荐(0) 编辑

中间件操作命令
摘要:http://t.zoukankan.com/forest-sunshine-p-14357115.html 一、重启activemq服务 1.查看服务:ps -ef | grep activemq 2.查看服务目录:ll /proc/28317 3.进入服务目录 停止服务:./activemq s 阅读全文

posted @ 2023-01-12 09:37 四海骄阳 阅读(644) 评论(0) 推荐(0) 编辑

Nginx SSL证书部署指南
摘要:https://help.xinruiyun.cn/doc/482-698.html 一、 安装 SSL 证书的环境 1.1 SSl 证书安装环境简介 Centos 6.4 操作系统;Nginx 1.9.1;Openssl 1.0.1+;SSL 证书一张(备注:本指南使用 s.wosign.com  阅读全文

posted @ 2022-11-28 22:14 四海骄阳 阅读(1264) 评论(0) 推荐(0) 编辑

monitor.sh
摘要:#!/bin/bash#获取cpu使用率cpuUsage=`top -b -n 1 |grep Cpu | awk '{print $2}' |awk -F. '{print $1}'`#获取磁盘使用率data_name="/dev/vda1"diskUsage=`df -h | grep $dat 阅读全文

posted @ 2022-08-19 09:29 四海骄阳 阅读(26) 评论(0) 推荐(0) 编辑

统计linux nginx访问次数及并发连接数
摘要:https://www.cnblogs.com/shiqing-zhang/articles/14888827.html 访问量统计 1.根据访问IP统计UV awk '{print $1}' access.log|sort | uniq -c |wc -l 2.统计访问URL统计PV awk '{ 阅读全文

posted @ 2022-08-19 09:09 四海骄阳 阅读(2567) 评论(0) 推荐(0) 编辑

nginx指定配置文件启动
摘要:https://blog.csdn.net/csdndd521/article/details/124503973 启动方法:/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf – /sbin/nginx 所在路径 -t - 阅读全文

posted @ 2022-07-19 08:50 四海骄阳 阅读(1422) 评论(0) 推荐(0) 编辑

Windows服务启动nginx,并按日期切割日志_验证OK
摘要:https://www.ucloud.cn/yun/39345.html https://blog.csdn.net/lanwangxia/article/details/106903174 http://t.zoukankan.com/xiaoxiangpaou-p-15549776.html @ 阅读全文

posted @ 2022-06-09 16:04 四海骄阳 阅读(544) 评论(0) 推荐(0) 编辑

LVS与Nginx区别
摘要:https://blog.csdn.net/zzz127333092/article/details/83827005 https://blog.csdn.net/wh_huan/article/details/106627091 一、lvs的优势: 1.抗负载能力强,因为lvs工作方式的逻辑是非常 阅读全文

posted @ 2022-04-07 14:31 四海骄阳 阅读(262) 评论(0) 推荐(0) 编辑

nignx proxy_redirect 302
摘要:# server { listen 443 ssl; server_name localhost; charset utf8; ssl_certificate full_chain.pem; ssl_certificate_key private.key; ssl_session_cache sha 阅读全文

posted @ 2022-03-10 09:27 四海骄阳 阅读(132) 评论(0) 推荐(0) 编辑

nginx(https)代理问题
摘要:https://blog.csdn.net/wangzs1234/article/details/108096052 问题描述: nginx代理tomcat服务器,访问Nginx用Https,代理用http,但是tomcat重定向的页面无法访问 流程: 问题描述:用户–https–>Nginx–ht 阅读全文

posted @ 2022-03-10 08:48 四海骄阳 阅读(279) 评论(0) 推荐(0) 编辑

正确的Nginx跨域配置(后端Nginx CORS跨域配置、CORS设置,后端允许跨域请求)
摘要:https://blog.csdn.net/envon123/article/details/83270277 最近连续两个朋友问我跨域相关问题,我猜想可能不少朋友也遇到类似问题,我打算写个博客聊一下我实际使用的配置, 先说明一下,我并不太了解这配置,没精力去了解太多,但我觉得其中有一些关键的小注意 阅读全文

posted @ 2022-03-10 08:35 四海骄阳 阅读(22631) 评论(0) 推荐(0) 编辑

CentOS7升级OpenSSL版本 前置机Linux安装Nginx
摘要:https://www.cnblogs.com/itbsl/p/11275728.html CentOS7升级OpenSSL版本 1.CentOS7.6默认安装的openssl版本为 # 查看openssl版本 openssl version 2.下载最新的openssl wget https:// 阅读全文

posted @ 2022-01-13 15:23 四海骄阳 阅读(197) 评论(0) 推荐(0) 编辑

nginx重试机制proxy_next_upstream
摘要:https://blog.csdn.net/weixin_34388207/article/details/93050741 nginx作为反向代理服务器,后端RS有多台服务器,上层通过一定机制保证容错和负载均衡。 nginx的重试机制就是容错的一种 官方链接:http://nginx.org/en 阅读全文

posted @ 2022-01-06 17:41 四海骄阳 阅读(401) 评论(0) 推荐(0) 编辑

Windows安装nginx服务
摘要:https://www.cnblogs.com/zhi-leaf/p/6274290.html Windows安装nginx服务 1、测试版本 nginx版本:nginx-1.10.2;windows版本:win10 2、下载winsw。 当前最新版本为:winsw-2.0.1-bin.exe。下载 阅读全文

posted @ 2021-12-30 16:56 四海骄阳 阅读(1095) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示

喜欢请打赏

扫描二维码打赏

了解更多