• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Nginx 配置之开启状态检查

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

    2019-03-21, Views: 3988 , Topics: Nginx

  • Nginx 配置之开启 Gzip 压缩

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

    2019-03-20, Views: 4887 , Topics: Nginx 压缩

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

    错误信息 Failed to load resource: the server responded with a status of 413 (Reques

    2019-03-20, Views: 7698 , Topics: Nginx

  • Nginx 配置之视频防盗链

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

    2019-03-20, Views: 6120 , Topics: Nginx 防盗链

  • Nginx 配置之图片防盗链

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

    2019-03-20, Views: 3746 , Topics: Nginx 防盗链

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

    expires 默认单位:秒。 h:时 m:分 s:秒 y:年 location ~ .*\.(?:jpg|jpeg|gif|png|ico|cur|gz|

    2019-03-20, Views: 5127 , Topics: Nginx 缓存

  • Nginx 配置之 PHP 路径配置

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

    2019-03-20, Views: 4385 , Topics: Nginx PHP 反向代理

  • Nginx 配置之反向代理获取真实 IP

    方法 保留代理之前的host: proxy_set_header Host $host; 保留代理之前的真实客户端IP: proxy_set_header X-

    2019-03-20, Views: 4963 , Topics: Nginx IP 反向代理

  • Nginx 配置之隐藏版本号

    方法 打开Nginx主配置文件:nginx.conf,取消注释或添加配置语句。 server_tokens off; http { # ...省

    2019-03-20, Views: 3595 , Topics: Nginx

  • Nginx 配置之 worker_processes

    1.9.10 版本后可以配置 worker_processes auto; worker_cpu_affinity auto; 解释 0001表示启用第一个CP

    2019-03-19, Views: 7030 , Topics: Nginx

  • Nginx 之基础命令

    查看简要信息 nginx -v 查看详细信息 nginx -V 启动服务 nginx 重新加载配置文件 nginx -s reload 快速停止服务 nginx

    2019-03-19, Views: 4012 , Topics: Nginx

  • First Prev
  • 1
  • 2
  • 3
  • Next

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

Messages Sitemap GitHub