PacktLib: Nginx HTTP Server - Second Edition

Nginx HTTP Server Second Edition

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Downloading and Installing Nginx

Setting up the prerequisites

Downloading Nginx

Configure options

Controlling the Nginx service

Adding Nginx as a system service

Summary

Basic Nginx Configuration

Configuration file syntax

Base module directives

A configuration for your profile

Testing your server

Summary

HTTP Configuration

HTTP Core module

Module directives

Module variables

The Location block

Summary

Module Configuration

Rewrite module

SSI module

Additional modules

Summary

PHP and Python with Nginx

Introduction to FastCGI

PHP with Nginx

Python and Nginx

Summary

Apache and Nginx Together

Nginx as reverse proxy

Nginx proxy module

Configuring Apache and Nginx

Improving the reverse proxy architecture

Summary

From Apache to Nginx

Nginx versus Apache

Porting your Apache configuration

Rewrite rules

Summary

Directive Index

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Module Reference

Troubleshooting

Troubleshooting

Troubleshooting

Troubleshooting

Troubleshooting

Troubleshooting

Troubleshooting

Index