Nginx HTTP Server : Harness the power of Nginx to make the most of your infrastructure and serve pages faster than ever before.
Nginx is a lightweight HTTP server designed for high-traffic websites, with network scalability as the primary objective. With the advent of high speed Internet access, short loading times and faster transfer rates have become a necessity. This book is a detailed guide to setting up Nginx in differe...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2018.
|
Edición: | 4th ed. |
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Downloading and Installing Nginx; Installing via package managers; Nginx provided packages; Compiling from source; GNU Compiler Collection; The PCRE library; The zlib library; OpenSSL; Downloading Nginx; Websites and resources; Version branches; Features; Downloading and extracting; Configure options; The easy way; Path options; Prerequisite options; Module options; Modules enabled by default; Modules disabled by default; Miscellaneous options; Configuration examples.
- About the prefix switchRegular 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 switches; Starting and stopping the daemon; Testing the configuration; Other switches; Adding Nginx as a system service; System V scripts; About init scripts; Init script for older Debian-based distributions; Init script for SystemD-based distributions; Installing the script.
- Debian-based distributionsRed Hat-based distributions; Nginx Plus; Summary; Chapter 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 values; Base module directives; What are base modules?; Nginx process architecture; Core module directives; Events module; Configuration module; Necessary adjustments; Testing your server; Creating a test server; Performance tests; Httperf; Autobench; OpenWebLoad.
- Upgrading Nginx gracefullySummary; Chapter 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_size; port_in_redirect; absolute_redirect; tcp_nodelay; tcp_nopush; sendfile; sendfile_max_chunk; send_lowat; reset_timedout_connection; Paths and documents; root; alias; error_page; if_modified_since; index; recursive_error_pages; try_files; Client requests; keepalive_requests; keepalive_timeout; keepalive_disable; send_timeout.
- Client_body_in_file_onlyclient_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; max_ranges; MIME types; types; default_type; types_hash_max_size; types_hash_bucket_size; Limits and restrictions; limit_except; limit_rate; limit_rate_after; satisfy; internal; File processing and caching; disable_symlinks; directio; directio_alignment; open_file_cache.