Web 服务器

分类

使用TLSv1.3 升级nginx和openssl

Web 服务器

介绍 TLS v1.3(Transport Layer Security version 1.3)是传输层安全协议的最新正式版本,用于在计算机网络中提供加密通信。它由 IETF(Internet Engineering Task Force) 于 2018 年 8 月正式发布,是 …

nginx 配置和编译

Web 服务器

nginx 自编译 nginx官网 下载nginx->Configure->编译->安装 下载nginx 1wget https://nginx.org/download/nginx-1.24.0.tar.gz 解压目录 1tar -zxvf …

nginx 编译参数详解

Web 服务器

nginx 编译参数详解 nginx 编译参数 作用 –prefix= 指向安装目录 –sbin-path 指向(执行)程序文件(nginx) –conf-path= 指向配置文件(nginx.conf) –error-log-path= 指向错误日志目录 –pid-path= …

nginx 重写规则 rewrite模块

Web 服务器

nginx 重写规则 rewrite 模块 语法 语法 默认值 使用字段 作用 break none server, location, if 完成当前设置的重写规则,停止执行其他的重写规则。 set variable value none server, location, …

nginx.conf 配置文件详解

Web 服务器

nginx.conf 配置文件详解 1# vim nginx.conf 2user nobody nobody; # 运行 nginx 的所属组和所有者 3worker_processes 2; # 开启两个 nginx 工作进程,一般几个 CPU 核心就写几 …

nginx 日志格式整理

Web 服务器

nginx 日志配置 语法 access_log path [format [buffer=size] [gzip[=level]] [flush=time] [if=condition]]; # 设置访问日志 access_log off; # 关闭访问日志 例子: …

nginx 汇总

Web 服务器

nginx 汇总 各类 nginx 问题汇总 安装 nginx 1 #centos 2 yum install nginx 3 #ubuntu 4 apt install nginx http 代理 正向代理 1 server { 2 listen 80; 3 …