• 首页
  • 留言板
  • 小工具
  • 英语角


  • Nginx upstream timed out 10060

    错误信息 upstream timed out (10060: A connection attempt failed because the connect

    2020-12-08,阅读:296,标签:Nginx 负载均衡 

  • Nginx使用Basic Auth认证做资源访问限制

    生成密码 使用OpenSSL生成密码。如下:生成密码为123456的密文。 openssl passwd -crypt 123456 用户名密码文件 文件中用户

    2020-05-29,阅读:719,标签:Nginx OpenSSL 

  • Nginx解决前端CORS跨域问题

    问题描述 Access to XMLHttpRequest at 'http://localhost:8080/test' from origin 'http

    2020-02-15,阅读:2747,标签:Nginx 跨域 

  • Nginx查看已安装模块

    -V 只能看到编译时指定的模块。 nginx -V auto/options Nginx安装目录中的auto目录下的options含有编译时指定的模块,可查看。

    2020-01-23,阅读:1144,标签:Nginx 

  • Nginx使用X-Accel-Redirect实现静态文件下载的统计、鉴权、防盗链、限速等

    需求 统计静态文件的下载次数; 判断用户是否有下载权限; 根据用户指定下载速度; 根据Referer判断是否需要防盗链; 根据用户属性限制下载速度; X-A

    2020-01-23,阅读:2358,标签:Nginx Java PHP 

  • nginx: [emerg] unknown directive "if($request_uri" in

    错误 nginx: [emerg] unknown directive "if($request_uri" in 解决 if与($间需要有空格。 例如: if

    2019-09-29,阅读:1768,标签:Nginx 

  • Keepalived + Nginx搭建高可用负载均衡服务器

    Keepalived 安装 https://www.zhangbj.com/p/351.html 添加监控 Nginx 脚本 Keepalived 配置文件 v

    2019-08-07,阅读:1437,标签:Keepalived Nginx 负载均衡 

  • Nginx日志按天生成

    无需借助logrotate等日志处理工具。 配置 http { log_format main '$remote_addr - $remote_us

    2019-07-22,阅读:3057,标签:Nginx 

  • Nginx配置静态文件404(root与alias区别)

    location /test/ { root /home/test; } 当url访问/test/1.png时会去/home/test/test/目录下

    2019-06-25,阅读:1641,标签:Nginx 

  • Nginx开启HTTP2.0

    前置条件 编译Nginx所用的OpenSSL版本必须在1.0.2e及以上 安装或升级OpenSSL可参考 编译安装Nginx并指定OpenSSL可参考

    2019-04-19,阅读:567,标签:Nginx HTTP2 

  • Linux编译安装Nginx

    下载解压 wget http://nginx.org/download/nginx-1.16.1.tar.gz tar -zxvf nginx-1.16.1.t

    2019-04-19,阅读:1135,标签:Nginx Linux OpenSSL 

  • Nginx编译安装时提示the HTTP gzip module requires the zlib library

    现象 若在“./configure”后方加入了“--with-http_gzip_static_module”(添加gzip压缩模块)提示以下错误: ./con

    2019-04-19,阅读:2215,标签:Nginx 

  • Linux之CentOS yum安装Nginx

    添加nginx源 方法一 sudo vim /etc/yum.repos.d/nginx.repo 插入内容 Centos6[nginx] name=ng

    2019-03-27,阅读:571,标签:Linux Nginx CentOS 

  • Nginx配置之屏蔽某IP访问

    查看Nginx日志中ip访问次数awk '{print $1}' access.log |sort |uniq -c|sort -n结果:42 222.64.1

    2019-03-22,阅读:754,标签:Nginx 

  • Nginx配置之开启状态检查

    查看是否安装所需模块--with-http_stub_status_modulenginx -V如若未安装改模块,需重新编译安装./configure --wi

    2019-03-21,阅读:608,标签:Nginx 

  • Nginx配置之开启Gzip压缩

    配置可供参考 gzip on; gzip_min_length 1k; gzip_buffers 4 16k; #gzip_http_version 1.0;

    2019-03-20,阅读:744,标签:Nginx 

  • Nginx配置之解决413错误(Request Entity Too Large)

    Failed to load resource: the server responded with a status of 413 (Request Ent

    2019-03-20,阅读:2024,标签:Nginx 

  • Nginx配置之视频防盗链

    查看Nginx安装的模块 nginx -V 如果没有安装secure_link模块,则需安装 ./configure --with-http_secure_li

    2019-03-20,阅读:1355,标签:Nginx 

  • Nginx配置之图片防盗链

    配置 location ~* ^/uploads/img/.*?\.(jpe?g|png|gif|svg)$ { valid_referers none

    2019-03-20,阅读:578,标签:Nginx 

  • Nginx配置之开启缓存过期时间

    location ~ .*\.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm)$ {

    2019-03-20,阅读:1105,标签:Nginx 

  • 上一页
  • 1
  • 2
  • 下一页 尾页

标签

更多
Java OpenResty Redis Linux Android Nginx MySQL MongoDB PostgreSQL PHP Git Elasticsearch Python 面试 算法 小程序

友链

安静的阿根 小吴的黑科技工坊

站长统计

  • 文章数:791
  • 访客数:239335
  • 浏览量:1112326

阅读排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219 阅读数:223990
  • Android使用adb wm命令调整手机分辨率 阅读数:8264
  • IDEA破解后打不开解决方法 阅读数:7675
  • Elasticsearch出现circuit_breaking_exception异常 阅读数:7515
  • Windows10访问网页提示找不到服务器IP地址 阅读数:5551

点赞排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219 点赞数:838
  • IDEA破解后打不开解决方法 点赞数:28
  • Windows10访问网页提示找不到服务器IP地址 点赞数:10
  • Android使用adb wm命令调整手机分辨率 点赞数:8
  • Elasticsearch health status显示为yellow解决方法 点赞数:7

评论排行榜

  • lanyus激活时IDEA提示your activation code could not be validated error 1653219 评论数:128
  • pgAdmin4 Failed to open the system default web browser.Is one installed?. 评论数:4
  • IDEA破解后打不开解决方法 评论数:2
  • 微信小程序基于Parser添加长按复制、代码高亮等功能 评论数:2
  • Nginx日志按天生成 评论数:2

分享至微信

©2021 沪ICP备18012661号-1 阿里云

关于我们-免责声明-网站地图-GitHub