nginx教程全集汇总(ttlsa出品)

nginx教程写了一段时间,无意中发现,nginx相关文章已经达到了近100篇了。觉得很有必要汇总到一起,它是我们运维生存时间的一片心血,他是学习nginx的同学必看教程- -!,我们将会继续更新内容,不过内容难免有错误,希望大家指正. Nginx基础 1.  nginx安装:httpwww.ttlsa.comnginxnginx-install-on-linux 2.  nginx 编译参数详解(运维不得不看):http://www.ttlsa.com/nginx/nginx-configure-descriptions/ 3.  nginx安装配置+清缓存模块安装:http://www.ttlsa.com/nginx/nginx-modules-ngx_cache_purge/ 4.  nginx+PHP 5.5:http://www.ttlsa.com/nginx/nginx-php-5_5/ 5.  nginx配置虚拟主机:http://www.ttlsa.com/nginx/nginx-configure-vhosts/ 6.  nginx location配置:http://www.ttlsa.com/nginx/nginx-location-configure/ 7.  nginx root&alias文件路径配置:http://www.ttlsa.com/nginx/nginx-root_alias-file-path-configuration/ 8.  ngx_http_core_module模块提供的变量:http://www.ttlsa.com/nginx/the-ngx_http_core_module-module-provides-variable/ 9.  nginx日志配置:http://www.ttlsa.com/linux/the-nginx-log-configuration/ 10. apache和nginx支持SSI配置:http://www.ttlsa.com/web/apache-and-nginx-support-ssi-configuration/ 12. nginx日志切割:http://www.ttlsa.com/nginx/nginx-log-cutting/ 13. Nginx重写规则指南:http://www.ttlsa.com/nginx/nginx-rewriting-rules-guide/ 14. nginx 逻辑运算:http://www.ttlsa.com/nginx/nginx-logic/ 15. 隐藏Nginx版本号的安全性与方法:http://www.ttlsa.com/nginx/hidden-nginx-version/ 16. CDN调度器HAProxy、Nginx、Varnish:http://www.ttlsa.com/web/the-cdn-scheduler-nginx-haproxy-varnish/ 17. lnmp架构下php安全配置分享:http://www.ttlsa.com/nginx/lnmp-safe-config/ 18. nginx tcp代理:http://www.ttlsa.com/nginx/nginx-tcp-proxy/ 19. nginx正向代理:http://www.ttlsa.com/nginx/nginx-positive-proxy/ 20. 搭建nginx反向代理用做内网域名转发:http://www.ttlsa.com/nginx/use-nginx-proxy/ 21. nginx+keepalived+proxy_cache 配置高可用nginx群集和高速缓存:http://www.ttlsa.com/nginx/nginx-keepalived-proxy_cache/ 22. Nginx 战斗准备 —— 优化指南:http://www.ttlsa.com/nginx/nginx-battle-ready-optimization-guide/ 23. 确保nginx安全的10个技巧:http://www.ttlsa.com/nginx/10-tips-to-ensure-the-security-of-nginx/ NGINX变量详解 1. nginx变量使用方法详解(1):http://www.ttlsa.com/nginx/nginx-var-1/ 2. nginx变量使用方法详解(2):http://www.ttlsa.com/nginx/nginx-var-2/ 3. nginx变量使用方法详解(3):http://www.ttlsa.com/nginx/nginx-var-3/ 4. nginx变量使用方法详解(4):http://www.ttlsa.com/nginx/nginx-var-4/ 5. nginx变量使用方法详解(5):http://www.ttlsa.com/nginx/nginx-var-5/ 6. nginx变量使用方法详解(6):http://www.ttlsa.com/nginx/nginx-var-6/ 7. nginx变量使用方法详解(7):http://www.ttlsa.com/nginx/nginx-var-7/ 8. nginx变量使用方法详解(8):http://www.ttlsa.com/nginx/nginx-var-8/ Nginx模块与案例 01. 如何安装nginx第三方模块:http://www.ttlsa.com/nginx/how-to-install-nginx-third-modules/ 02. srcache_nginx redis 构建缓存系统应用一例:http://www.ttlsa.com/nginx/to-build-an-application-cache-system-of-srcache_nginx-redis/ 03. nginx+lua+redis构建高并发应用:http://www.ttlsa.com/nginx/nginx-lua-redis/ 04. ttserver+nginx构建高并发高可用性应用:http://www.ttlsa.com/nginx/ttserver-nginx-1429/ 05. nginx生成缩略图配置:http://www.ttlsa.com/nginx/nginx-modules-image_filter_module/ 06. 使用nginx sticky实现基于cookie的负载均衡:http://www.ttlsa.com/nginx/nginx-modules-nginx-sticky-module/ 07. nginx上传模块—nginx upload module:http://www.ttlsa.com/nginx/nginx-modules-upload-module/ 08. nginx strip模块优化页面:http://www.ttlsa.com/nginx/nginx-modules-nginx-strip/ 09. nginx + ngx_lua安装测试:http://www.ttlsa.com/nginx/nginx-modules-ngx_lua/ 10. nginx统计响应的http状态码信息(ngx-http-status-code-counter):http://www.ttlsa.com/nginx/nginx-modules-ngx-http-status-code-counter/ 11. nginx流量带宽等请求状态统计( ngx_req_status):http://www.ttlsa.com/nginx/nginx-modules-ngx_req_status/ 12. nginx实时记录请求状态信息( ngx_realtime_request_module):http://www.ttlsa.com/nginx/nginx-modules-ngx_realtime_request_module/ 13. nginx获取大文件MD5值(nginx模块ngx_file_md5):http://www.ttlsa.com/nginx/nginx-modules-ngx_file_md5/ 14. nginx不记录特定日志(access_log_bypass_if):http://www.ttlsa.com/nginx/nginx-modules-access_log_bypass_if/ 15. nginx快速绘制圆形图(ngx_http_circle_gif_module模块):http://www.ttlsa.com/nginx/nginx-modules-ngx_http_circle_gif_module/ 16. nginx实现大小写字母转换(ngx_http_lower_upper_case模块):http://www.ttlsa.com/nginx/nginx-modules-ngx_http_lower_upper_case/ 17. nginx防止高负载的解决方案(sysgurad模块):http://www.ttlsa.com/nginx/nginx-modules-sysgurad/ 18. nginx js、css多个请求合并为一个请求(concat模块):http://www.ttlsa.com/nginx/nginx-modules-concat/ 19. CDN下nginx获取用户真实IP地址:http://www.ttlsa.com/nginx/nginx-get-user-real-ip/ 20. nginx实时生成缩略图到硬盘上:http://www.ttlsa.com/nginx/nginx-create-image-on-disk/ 21. perl + fastcgi + nginx搭建:http://www.ttlsa.com/nginx/perl-fastcgi-nginx/ 22. nginx+memcached构建页面缓存应用:http://www.ttlsa.com/nginx/application-of-nginx_memcached-to-construct-the-page-cache/ 23. memc_nginx+srcache_nginx+memcached构建透明的动态页面缓存:http://www.ttlsa.com/nginx/memc_nginx_srcache_nginx_memcached-to-construct-transparent-caching-dynamic-pages/ 24. nginx 同一个IP上配置多个HTTPS主机:http://www.ttlsa.com/web/multiple-https-host-nginx-with-a-ip-configuration/ 25. srcache_nginx redis 清除缓存:http://www.ttlsa.com/web/srcache_nginx-redis-purge-cache/ 26. nginx动态IP黑白名单构建web防火墙(ngx_white_black_list):http://www.ttlsa.com/nginx/nginx-module-ngx_white_black_list/ 27. srcache_nginx+redis构建缓存系统:http://www.ttlsa.com/nginx/construction-of-srcache_nginx_redis-caching-system/ 28. nginx模块nginx-http-footer-filter研究使用:http://www.ttlsa.com/nginx/nginx-modules-nginx-http-footer-filter/ 29. nginx本地缓存模块ngx_slowfs_cache:http://www.ttlsa.com/nginx/local-nginx-cache-module-ngx_slowfs_cache/ 30. nginx+fancy实现漂亮的索引目录:http://www.ttlsa.com/nginx/nginx-module-ngx-fancyindex/ 31. nginx secure_link下载防盗链:http://www.ttlsa.com/nginx/nginx-modules-secure_link/ 32. nginx显示随机首页模块(Random Index): http://www.ttlsa.com/nginx/nginx-modules-random-index/ 33. nginx实现图片防盗链(referer指令):http://www.ttlsa.com/nginx/nginx-referer/ 34. nginx空白图片(empty_gif模块):http://www.ttlsa.com/nginx/nginx-modules-empty_gif/ 35. nginx记录分析网站响应慢的请求(ngx_http_log_request_speed):http://www.ttlsa.com/nginx/nginx-modules-ngx_http_log_request_speed/ 36. nginx map使用方法:http://www.ttlsa.com/nginx/using-nginx-map-method/ 37. nginx限速白名单配置:http://www.ttlsa.com/nginx/nginx-speed-white-list-configuration/ 38. nginx修改upstream不重启的方法(ngx_http_dyups_module模块):http://www.ttlsa.com/nginx/nginx-modules-ngx_http_dyups_module/ 39. nginx实现简体繁体字互转以及中文转拼音(ngx_set_cconv模块):http://www.ttlsa.com/nginx/nginx-modules-ngx_set_cconv/ 40. nginx针对爬虫进行限速配置:http://www.ttlsa.com/nginx/nginx-for-the-crawler-to-limit-configuration/ 41. nginx替换网站响应内容(ngx_http_sub_module):http://www.ttlsa.com/linux/nginx-modules-ngx_http_sub_module/ 43. nginx向响应内容中追加内容(ngx_http_addition_module模块):http://www.ttlsa.com/linux/nginx-modules-ngx_http_addition_module/ 44. nginx访问控制allow、deny(ngx_http_access_module):http://www.ttlsa.com/linux/nginx-modules-ngx_http_access_module/ 45. nginx+perl模块的使用:http://www.ttlsa.com/nginx/nginx-modules-perl_module/ 46. nginx索引目录配置:http://www.ttlsa.com/nginx/nginx-module-auto_index/ 47. nginx+video-thumbextractor生成视频缩略图:http://www.ttlsa.com/nginx/nginx-modules-video-thumbextractor/ 48. nginx限制连接数ngx_http_limit_conn_module模块:http://www.ttlsa.com/nginx/nginx-limited-connection-number-ngx_http_limit_conn_module-module/ 49. nginx限制请求数ngx_http_limit_req_module模块:http://www.ttlsa.com/nginx/nginx-limiting-the-number-of-requests-ngx_http_limit_req_module-module/ 50. Nginx国人开发缩略图模块(ngx_image_thumb):http://www.ttlsa.com/nginx/nginx-modules-ngx_image_thumb/ 51. nginx+set-misc-nginx-module模块说明:http://www.ttlsa.com/nginx/nginx_set-misc-nginx-module-module-description/ 52. nginx geo使用方法:http://www.ttlsa.com/nginx/using-nginx-geo-method/ 53. Nginx 与 Lua:http://www.ttlsa.com/nginx/nginx-and-lua/ 54. ngx_http_headers_module模块add_header和expires指令:http://www.ttlsa.com/nginx/the-ngx_http_headers_module-module-add_header-and-expires-instructions/ 55. NginX and Riak:http://www.ttlsa.com/database/nginx-and-riak/ 常见问题 01. memc_nginx+srcache_nginx+memcached遇到的问题:http://www.ttlsa.com/nginx/memc_nginx_srcache_nginx_memcached-problems/ 02. nginx purge更新缓存404错误:http://www.ttlsa.com/nginx/nginx-purge-404-error/ 03. nginx反向代理proxy_set_header自定义header头无效:http://www.ttlsa.com/nginx/nginx-proxy_set_header/

你可能感兴趣的:(nginx,nginx教程,nginx系列)