Nginx

Nginx后端获取CDN用户真实IP

https://www.alibabacloud.com/help/zh/cdn/user-guide/configure-custom-request-headers 客户端IP…

Nginx使用Geoip2模块 解析客户端IP地理信息 限定国家区域访问

使用Nginx Geoip2模块 解析客户端IP地理信息 可以对指定国家区域进行限制访问 ngx_http_geoip2_module libmaxminddb ngx_http_…

Nginx 允许多个域名跨域访问

允许指定单个域名跨域访问 location /{ #add_header Access-Control-Allow-Origin *; #允许所有域名不安全 add_header …

nginx-module-vts监控虚拟主机的流量

nginx-vts 编辑加入模块 git clone https://github.com/vozlt/nginx-module-vts.git ./configure \ --p…

Nginx上传大文件慢 解决

使用apisix(nginx)转发 nginx+php 在上传大文件时,发现比原来上传慢了很多。 使用apisix转发 上传 上传15G文件,耗时4.7分钟, 其中在2.7分钟时是…

nginx 1.22 编译webdav插件

apt install -y gcc make libpcre3-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev libgd-d…

ubuntu 22.04 编译 nginx 1.22

sudo apt install build-essential curl gnupg2 ca-certificates zlib1g-dev libssl-dev libpcre…