• ngnix 防盗链配置

    日期:

    通用配置如下 location ~ .*\.(gif|jpg|jpeg| png |bmp|swf|mp3)$ { #access_log off; #以上扩展名文件(gif|jpg|jpeg| png |bmp|swf)不写入 日志文件中。 #valid_referers *.gangqinpuzi.com gangqinpuzi.com *.youdao.com *.google.cn *.google.com *.googl...

  • Linux下配置nginx支持.cgi

    日期:

    说明: 操作系统:CentOS 6.x web环境:php+nginx+ mysql nginx安装目录:/usr/local/nginx nginx配置文件:/usr/local/nginx/conf/nginx.conf nginx默认站点目录:/usr/local/nginx/html/ 需求:让nginx能够解析.cgi后缀的文件 具体操作: 一、安装perl-fcg...

  • 使用Nginx反向代理和proxy_cache缓存搭建CDN服务器加快Web访问速度

    日期:

    碰到问题: 移动用户访问web服务器 www.osyunwei.com 很慢 解决办法: 1、在移动机房放置一台nginx反向代理服务器 2、通过域名DNS智能解析,所有移动用户访问 www.osyunwei.com 时解析到nginx反向代理服务器 3、nginx反向代理服务器与web服务器之间采用专线...

  • Nginx内容缓存 Nginx content cache

    日期:

    原文地址: http://nginx.com/resources/admin-guide/caching/ Nginx content cache Nginx内容缓存 This chapter describes how to enable and configure caching responses received from proxied servers. When caching is enabled NGINX saves responses...

  • NGINX Web Server Nginx web 服务器

    日期:

    原文地址: http://nginx.com/resources/admin-guide/web-server/ NGINX Web Server Nginx web 服务器 This section describes: the most common configuration of a web server how to set up virtual servers and define locations for request processing...

  • Nginx 负载均衡 Nginx Load Balancing

    日期:

    原文地址: http://nginx.com/resources/admin-guide/load-balancer/ Nginx Load Balancing nginx 负载均衡 This section describes how to use NGINX and NGINX Plus as aload balancer. 本章将讨论如何使用Nginx和Nginx加做负载均衡 器 。 In This Section...

  • nginx 提供静态内容

    日期:

    Serving Static Content 提供静态内容 原文地址: http://nginx.com/resources/admin-guide/serving-static-content/ This section describes how to serve static content, how to use different ways of setting up the paths to look for files, and how...

  • nginx进程和实时控制

    日期:

    原文地址: http://nginx.com/resources/admin-guide/processes-and-runtime-control/ Processes and Runtime Control 进程和实时控制 This section describes the processes NGINX starts at run time and how to control them. 本文讨论Nginx开始运行时的...

  • nginx 日志和监控

    日期:

    原文地址: http://nginx.com/resources/admin-guide/logging-and-monitoring/ Logging and Monitoring 日志和监控 This section describes how to configure logging of errors and processed requests, as well as how to use the runtime monitoring serv...

  • Nginx vs Apache

    日期:

    原文地址:https://anturis.com/blog/nginx-vs-apache/ Nginx vs Apache What is the Nginx web and proxy server and how does it compare to Apache? Should you use one of these servers or both? Here we explore some answers to these questions. Ngi...