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

  • Nginx upstream timed out 10060

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

    2020.12.08,阅读:125,评论:0,点赞:1,标签:Nginx 

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

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

    2020.05.29,阅读:540,评论:0,点赞:0,标签:Nginx OpenSSL 

  • Nginx解决前端CORS跨域问题

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

    2020.02.15,阅读:2104,评论:0,点赞:3,标签:Nginx 跨域 

  • Nginx查看已安装模块

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

    2020.01.23,阅读:896,评论:0,点赞:0,标签:Nginx 

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

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

    2020.01.23,阅读:1802,评论:0,点赞:0,标签:Nginx Java PHP 

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

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

    2019.09.29,阅读:1515,评论:0,点赞:2,标签:Nginx 

  • Nginx日志按天生成

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

    2019.07.22,阅读:2518,评论:2,点赞:0,标签:Nginx 

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

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

    2019.06.25,阅读:1349,评论:0,点赞:1,标签:Nginx 

  • Nginx开启HTTP2.0

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

    2019.04.19,阅读:428,评论:0,点赞:0,标签:Nginx HTTP2.0 

  • Nginx编译安装

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

    2019.04.19,阅读:877,评论:0,点赞:0,标签:Nginx 

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

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

    2019.04.19,阅读:1468,评论:0,点赞:0,标签:Nginx 

  • Linux之CentOS yum安装Nginx

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

    2019.03.27,阅读:409,评论:0,点赞:0,标签:Linux Nginx CentOS 

  • Nginx配置之屏蔽某IP访问

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

    2019.03.22,阅读:659,评论:0,点赞:0,标签:Nginx 

  • Nginx配置之开启状态检查

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

    2019.03.21,阅读:502,评论:0,点赞:1,标签:Nginx 

  • Nginx配置之开启Gzip压缩

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

    2019.03.20,阅读:509,评论:0,点赞:0,标签:Nginx 

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

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

    2019.03.20,阅读:1636,评论:0,点赞:2,标签:Nginx 

  • Nginx配置之视频防盗链

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

    2019.03.20,阅读:1131,评论:0,点赞:1,标签:Nginx 

  • Nginx配置之图片防盗链

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

    2019.03.20,阅读:468,评论:0,点赞:0,标签:Nginx 

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

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

    2019.03.20,阅读:962,评论:0,点赞:0,标签:Nginx 

  • Nginx配置之PHP路径配置

    80端口对应单个PHP服务server { listen 80; server_name localhost; root

    2019.03.20,阅读:473,评论:0,点赞:0,标签:Nginx PHP 

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

标签

JavaOpenRestyRedisLinuxAndroidNginxMySQLMongoDBPostgreSQLPHPGitElasticsearchPython面试算法小程序

友链

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

站长统计

  • 文章数:712
  • 访客数:207082
  • 浏览量:901947

阅读排行榜

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

点赞排行榜

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

评论排行榜

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

分享至微信

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

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