[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-detail-573643-en":53,"doc-seo-573643-105":75},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":5,"data":54},{"doc_id":55,"user_id":56,"nickname":57,"user_avatar":58,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":60,"doc_content":61,"file_id":62,"file_url":63,"file_type":64,"file_size":65,"view_count":9,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":66,"language":67,"language_code":68,"site_id":69,"html_lang":68,"table_of_contents":70,"faqs":71,"seo_title":72,"seo_description":60,"update_tm":73,"read_time":74},573643,962090894170,"CatatanPagi","https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","NGINX Cookbook - Advanced Recipes for High-Performance Load Balancing","NGINX Cookbook - Advanced Recipes for High-Performance Load Balancing focuses on building and operating high-performance application delivery with NGINX. It covers installation and verification steps, static content serving, and graceful reload concepts. The book then details advanced load balancing across HTTP, TCP, and UDP, including sticky sessions, draining connections, and health check strategies. It further addresses traffic management, scalable content caching, programmability with NGINX Plus APIs and automation tools, and authentication methods for modern deployments.","| \u003Cbr>NGINX Cookbook\u003Cbr>Advanced Recipes for High-Performance Load Balancing |\n| --- |\n| Derek DeJonghe\u003Cbr>\u003Cbr>Compliments of\u003Cbr>|\n|  |\n\nTry NGINX Plus and NGINX App Protect Free  \nGet high-performance application delivery and security for microservices. NGINX Plus is a software load balancer, API gateway, and microservices proxy. NGINX App Protect is a lightweight, fast web application firewall (WAF) built on proven F5 technology and designed for modern apps and DevOps environments.  \nCost Savings  \nOver 80% cost savings compared to hardware application delivery controllers and WAFs, with all the performance and features you expect.  \nReduced Complexity  \nThe only all-in-one load balancer, API gateway, microservices proxy, and web application firewall helps reduce infrastructure sprawl.  \nEnterprise Ready  \nNGINX Plus and NGINX App Protect deliver enterprise requirements for security, scalability, and resiliency while integrating with DevOpsand CI/CD environments.  \nAdvanced Security  \nNGINX App Protect offers 4x the performance and 10x the throughput as open source alternatives like ModSecurity, while providing even more comprehensive controls.  \nDownload at [nginx.com/freetrial](nginx.com/freetrial)  \nNGINX Cookbook  \nAdvanced Recipes for High-Performance  \nLoad Balancing  \nDerek DeJonghe  \nNGINX Cookbook  \nby Derek DeJonghe  \nCopyright © 2021 O’Reilly Media, Inc. All rights reserved.  \nPrinted in the United States of America.  \nPublished by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.  \nO’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ([http://oreilly.com](http://oreilly.com). For more information, contact our corporate/institutional)[). For more information, contact our corporate/institutional](http://oreilly.com). For more information, contact our corporate/institutional)  \nsales department: 800-998-9938 or [corporate@oreilly.com](corporate@oreilly.com).  \nAcquisitions Editor: Mary Preap  \nDevelopment Editor: Gary O’Brien  \nProduction Editor: Christopher Faucher  \nCopyeditor: Piper Editorial, LLC  \nProofreader: nSight, Inc.  \nIndexer: Sue Klefstad  \nInterior Designer: David Futato  \nCover Designer: Karen Montgomery  \nIllustrator: O’Reilly Media, Inc.  \nNovember 2020: First Edition  \nRevision History for the First Edition  \n2020-10-28: First Release  \nSee [http://oreilly.com/catalog/errata.csp?isbn=9781492078487](http://oreilly.com/catalog/errata.csp?isbn=9781492078487 for)[ for](http://oreilly.com/catalog/errata.csp?isbn=9781492078487 for) release details.  \nThe O’Reilly logo is a registered trademark of O’Reilly Media, Inc. NGINX Cookbook, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc.  \nThe views expressed in this work are those of the author, and do not represent the publisher’s views. While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.  \nThis work is part of a collaboration between O’Reilly and NGINX. See our statement of editorial independence.  \n978-1-492-08702-1  \n[LSI]  \nTable of Contents  \nForeword..................................................................... xi  \nPreface...................................................................... xiii  \n1. Basics...................................................................... 1  \n1.0 Introduct","cbCailXiZBzdyOPG","https://ap.wps.com/l/cbCailXiZBzdyOPG","pdf",10328117,207,"English","en",105,"# Foreword\n# Preface\n# Basics\n## Introduction\n## Installing on Debian/Ubuntu\n## Installing on RedHat/CentOS\n## Installing NGINX Plus\n## Verifying Your Installation\n## Key Files, Directories, and Commands\n## Serving Static Content\n## Graceful Reload\n# High-Performance Load Balancing\n## Introduction\n## HTTP Load Balancing\n## TCP Load Balancing\n## UDP Load Balancing\n## Load-Balancing Methods\n## Sticky Cookie with NGINX Plus\n## Sticky Learn with NGINX Plus\n## Sticky Routing with NGINX Plus\n## Connection Draining with NGINX Plus\n## Passive Health Checks\n## Active Health Checks with NGINX Plus\n## Slow Start with NGINX Plus\n# Traffic Management\n## Introduction\n## A/B Testing\n## Using the GeoIP Module and Database\n## Restricting Access Based on Country\n## Finding the Original Client\n## Limiting Connections\n## Limiting Rate\n## Limiting Bandwidth\n# Massively Scalable Content Caching\n## Introduction\n## Caching Zones\n## Cache Locking\n## Caching Hash Keys\n## Cache Bypass\n## Cache Performance\n## Cache Purging with NGINX Plus\n## Cache Slicing\n# Programmability and Automation\n## Introduction\n## NGINX Plus API\n## Using the Key-Value Store with NGINX Plus\n## Extending NGINX with a Common Programming Language\n## Installing with Puppet\n## Installing with Chef\n## Installing with Ansible\n## Installing with SaltStack\n## Automating Configurations with Consul Templating\n# Authentication\n## Introduction\n## HTTP Basic Authentication","[{\"question\":\"What does NGINX Cookbook cover at a high level?\",\"answer\":\"It provides guidance for high-performance load balancing and application delivery using NGINX, including installation basics, traffic management, scalable caching, programmability, automation, and authentication.\"},{\"question\":\"How are load balancing scenarios organized in the book?\",\"answer\":\"The load balancing section breaks down approaches by protocol and behavior, including HTTP, TCP, UDP, sticky sessions, connection draining, and health-check strategies.\"},{\"question\":\"What topics are included under traffic management and caching?\",\"answer\":\"Traffic management covers experiments and access/rate/bandwidth controls, while caching focuses on cache zones, locking, hash keys, bypass, performance, purging, and cache slicing.\"}]","NGINX Cookbook - Advanced Recipes for High-Performance Load Balancing | PDF",1791943698,72,{"code":4,"msg":76,"data":77},"ok",{"site_id":69,"language":68,"slug":78,"title":59,"keywords":79,"description":60,"schema_data":80,"social_meta":135,"head_meta":137,"extra_data":139,"updated_unix":140},"nginx-cookbook-advanced-recipes-for-high-performance-load-balancing","",{"@graph":81,"@context":134},[82,98,117],{"@type":83,"itemListElement":84},"BreadcrumbList",[85,89,92,95],{"item":86,"name":87,"@type":88,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":90,"name":10,"@type":88,"position":91},"https://docshare.wps.com/template/",2,{"item":93,"name":11,"@type":88,"position":94},"https://docshare.wps.com/template/presentations/",3,{"item":96,"name":59,"@type":88,"position":97},"https://docshare.wps.com/template/nginx-cookbook-advanced-recipes-for-high-performance-load-balancing/573643/",4,{"url":96,"name":59,"@type":99,"image":100,"author":105,"headline":59,"publisher":107,"fileFormat":110,"inLanguage":68,"description":60,"dateModified":111,"datePublished":111,"encodingFormat":110,"isAccessibleForFree":112,"interactionStatistic":113},"DigitalDocument",{"url":101,"@type":102,"width":103,"height":104},"https://docshare.wps.com/thumbnails/nginx-cookbook-advanced-recipes-for-high-performance-load-balancing/573643.png","ImageObject",442,249,{"name":57,"@type":106},"Person",{"url":86,"name":108,"@type":109},"DocShare","Organization","application/pdf","2026-10-14",true,{"@type":114,"interactionType":115,"userInteractionCount":9},"InteractionCounter",{"@type":116},"ViewAction",{"@type":118,"mainEntity":119},"FAQPage",[120,126,130],{"name":121,"@type":122,"acceptedAnswer":123},"What does NGINX Cookbook cover at a high level?","Question",{"text":124,"@type":125},"It provides guidance for high-performance load balancing and application delivery using NGINX, including installation basics, traffic management, scalable caching, programmability, automation, and authentication.","Answer",{"name":127,"@type":122,"acceptedAnswer":128},"How are load balancing scenarios organized in the book?",{"text":129,"@type":125},"The load balancing section breaks down approaches by protocol and behavior, including HTTP, TCP, UDP, sticky sessions, connection draining, and health-check strategies.",{"name":131,"@type":122,"acceptedAnswer":132},"What topics are included under traffic management and caching?",{"text":133,"@type":125},"Traffic management covers experiments and access/rate/bandwidth controls, while caching focuses on cache zones, locking, hash keys, bypass, performance, purging, and cache slicing.","https://schema.org",{"og:url":96,"og:type":136,"og:title":59,"og:site_name":108,"og:description":60},"article",{"robots":138,"canonical":96},"index,follow",{"doc_id":55,"site_id":69},1792020660]