nginx教程全集汇总(ttlsa出品)
生活随笔
收集整理的這篇文章主要介紹了
nginx教程全集汇总(ttlsa出品)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
為什么80%的碼農都做不了架構師?>>> ??
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/轉載于:https://my.oschina.net/766/blog/211294
總結
以上是生活随笔為你收集整理的nginx教程全集汇总(ttlsa出品)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: docker快速入门01——docker
- 下一篇: JVM 分析工具和查看命令,超详细