Cargando…

Mastering Nginx /

This book will guide you to master Nginx through practical examples and the necessary code to make your learning curve quick and easy. This book is for the novice as well as the advanced Nginx user. The first half focuses on introducing you to Nginx and its various frequent use cases. The second hal...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Sarkar, Dipankar
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2013.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Table of Contents; Mastering NGINX; Mastering NGINX; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Installing NGINX and Third-Party Modules; Installing NGINX using a package manager; CentOS; Debian; Installing NGINX from source; Preparing a build environment; Compiling from source.
  • Table: Common configure optionsTable: Configure options for optimization; Configuring for web or mail service; Configure options for a mail proxy; Table: Mail configure options; Configure the options to specify paths; Table: HTTP configure options; Enabling various modules; Table: HTTP module configure options; Disabling unused modules; Table: Disable configure options; Finding and installing third-party modules; Putting it all together; Summary; 2. A Configuration Guide; The basic configuration format; NGINX global configuration parameters; Table: Global configuration directives.
  • Using include filesThe HTTP server section; Client directives; Table: HTTP client directives; File I/O directives; Table: HTTP file I/O directives; Hash directives; Table: HTTP hash directives; Socket directives; Table: HTTP socket directives; Sample configuration; The virtual server section; Table: listen parameters; Locations
  • where, when, and how; Table: Location modifiers; Table: Location-only directives; The mail server section; Table: Mail module directives; Table: Mail SSL directives; Full sample configuration; Summary; 3. Using the Mail Module; Basic proxy service; POP3 service.
  • IMAP serviceSMTP service; Using SSL/TLS; Complete mail example; Authentication service; Combining with memcached; Interpreting log files; Operating system limits; Summary; 4. NGINX as a Reverse Proxy; Introduction to reverse proxying; The proxy module; Table: Proxy module directives; Legacy servers with cookies; The upstream module; Table: Upstream module directives; Keepalive connections; Load-balancing algorithms; Types of upstream servers; Single upstream server; Multiple upstream servers; Non-HTTP upstream servers; Memcached upstream servers; FastCGI upstream servers.
  • SCGI upstream serversuWSGI upstream servers; Converting an ""if""-fy configuration to a more modern interpretation; Using error documents to handle upstream problems; Determining the client's real IP address; Summary; 5. Reverse Proxy Advanced Topics; Security through separation; Encrypting traffic with SSL; Authenticating clients using SSL; Blocking traffic based on originating IP address; Isolating application components for scalability; Reverse proxy performance tuning; Buffering; Table: Proxy module buffering directives; Caching; Table: Proxy module caching directives; Storing.