Cargando…

Nginx HTTP Server : Make the Most of Your Infrastructure and Serve Pages Faster than Ever with Nginx /

This tutorial book includes detailed instructions for each of the processes it describes: downloading and installing the application, configuring and using modules, and much more. It provides a step-by-step tutorial to replace your existing web server with Nginx. With commented configuration section...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Nedelcu, Clément
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2013.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Table of Contents; Nginx HTTP Server Second Edition; Nginx HTTP Server Second Edition; 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. Downloading and Installing Nginx; Setting up the prerequisites; GCC
  • GNU Compiler Collection; The PCRE library; The zlib library; OpenSSL.
  • Downloading NginxWebsites and resources; Version branches; Features; Downloading and extracting; Configure options; The easy way; Path options; Prerequisites options; Module options; Modules enabled by default; Modules disabled by default; Miscellaneous options; Configuration examples; About the prefix switch; Regular HTTP and HTTPS servers; All modules enabled; Mail server proxy; Build configuration issues; Make sure you installed the prerequisites; Directories exist and are writable; Compiling and installing; Controlling the Nginx service; Daemons and services; User and group.
  • Nginx command-line switchesStarting and stopping the daemon; Testing the configuration; Other switches; Adding Nginx as a system service; System V scripts; What is an init script?; Init script for Debian-based distributions; Init script for Red Hat-based distributions; Installing the script; Debian-based distributions; Red Hat-based distributions; Summary; 2. Basic Nginx Configuration; Configuration file syntax; Configuration Directives; Organization and inclusions; Directive blocks; Advanced language rules; Directives accept specific syntaxes; Diminutives in directive values; Variables.
  • String valuesBase module directives; What are base modules?; Nginx process architecture; Core module directives; Events module; Configuration module; A configuration for your profile; Understanding the default configuration; Necessary adjustments; Adapting to your hardware; Testing your server; Creating a test server; Performance tests; Httperf; Autobench; OpenWebLoad; Upgrading Nginx gracefully; Summary; 3. HTTP Configuration; HTTP Core module; Structure blocks; Module directives; Socket and host configuration; listen; server_name; server_name_in_redirect; server_names_hash_max_size.
  • Server_names_hash_bucket_sizeport_in_redirect; tcp_nodelay; tcp_nopush; sendfile; sendfile_max_chunk; send_lowat; reset_timedout_connection; Paths and documents; root; alias; Client requests; keepalive_requests; keepalive_timeout; keepalive_disable; send_timeout; client_body_in_file_only; client_body_in_single_buffer; client_body_buffer_size; client_body_temp_path; client_body_timeout; client_header_buffer_size; client_header_timeout; client_max_body_size; large_client_header_buffers; lingering_time; lingering_timeout; lingering_close; ignore_invalid_headers; chunked_transfer_encoding.