Introduction to Nginx Administration

Introduction to Nginx Administration

Bascom Bridge’s Nginx training teaches how to administer Nginx, a popular, open source web server, reverse proxy server, HTTP cache, and load balancer.



  • Install and configure Nginx
  • Use the mail module
  • Work with the Nginx HTTP Server
  • Troubleshoot Nginx


All attendees should be familiar with general principles of Web server administration.


All Nginx course students receive a copy of Packt Publishing’s Mastering Nginx and related courseware.


By default, this course is taught using Nginx in a Linux virtual machine (any version of Nginx can be taught). We will provide the virtual machine in advance for installation. Classroom PCs should have:

  • At least 3 GB RAM and 10 GB hard drive space
  • The latest version of VMware Player
  • An unzipped copy of the virtual machine Accelebrate provides

This Linux VM can run on top of Windows, Linux, or Mac OS X.
Although use of the Linux VM is our default, we can teach the class using any operating system that supports Nginx.

For classes delivered online, all participants need either dual monitors or a separate device logged into the online session so that they can do their work on one screen and watch the instructor on the other. A separate computer connected to a projector or large screen TV would be another way for students to see the instructor’s screen simultaneously with working on their own.


  • Intoduction
  • Installing Nginx and Third-Party Modules
    • Installing Nginx using a package manager
    • Installing Nginx from source
    • Preparing a build environment
    • Compiling from source
    • Configuring for web or mail service
    • Configure options for a mail proxy
    • Configure the options to specify paths
    • Enabling various modules
    • Disabling unused modules
    • Finding and installing third-party modules
    • Putting it all together
  • A Configuration Guide
    • The basic configuration format
    • Nginx global configuration parameters
    • Using include files
    • The HTTP server section
    • Client directives
    • File I/O directives
    • Hash directives
    • Socket directives
    • Sample configuration
    • The virtual server section
    • Locations – where, when, and how
    • The mail server section
    • Full sample configuration
  • Using the Mail Module
    • Basic proxy service
    • POP3 service
    • IMAP service
    • SMTP service
    • Using SSL/TLS
    • Complete mail example
    • Authentication service
    • Combining with memcached
    • Interpreting log files
    • Operating system limits
  • Nginx as a Reverse Proxy
    • Introduction to reverse proxying
    • The proxy module
    • Legacy servers with cookies
    • The upstream module
    • Keepalive connections
    • Load-balancing algorithms
    • Types of upstream servers [focus in this section would be set based on the types of upstream servers you are using]
      • Single upstream server
      • Multiple upstream servers
      • Non-HTTP upstream servers
      • Memcached upstream servers
      • FastCGI upstream servers
      • SCGI upstream servers
      • uWSGI 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
  • 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
    • Caching
    • Storing
    • Compressing
  • The Nginx HTTP Server
    • Nginx’s architecture
    • The HTTP core module
    • The server
    • Logging
    • Finding files
    • Name resolution
    • Client interaction
    • Using limits to prevent abuse
    • Restricting access
    • Streaming media files
    • Predefined variables
    • Using Nginx with PHP-FPM
    • An example Drupal configuration
    • Wiring Nginx and uWSGI together
    • An example Django configuration
  • Nginx for the Developer [selected topics in this section would be covered based on your interests]
    • Caching integration
    • No application caching
    • Caching in the database
    • Caching in the filesystem
    • Changing content on-the-fly
    • The addition module
    • The sub module
    • The xslt module
    • Using Server Side Includes
    • Decision-making in Nginx
    • Creating a secure link
    • Generating images
    • Tracking website visitors
    • Preventing inadvertent code execution
  • Troubleshooting Techniques
    • Analyzing log files
    • Error log file formats
    • Error log file entry examples
    • Configuring advanced logging
    • Debug logging
    • Switching binaries at runtime
    • Using access logs for debugging
    • Common configuration errors
    • Using if instead of try_files
    • Using if as a hostname switch
    • Not using the server context to best effect
    • Operating system limits
    • File descriptor limits
    • Network limits
    • Performance problems
    • Using the Stub Status module
  • Conclusion

Send a Comment

Your email address will not be published.


+91 9376007676  



Introduction to Nginx Administration

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
  • Course No : SRV-150
  •  Theory : 40%
  •  Lab : 60%
  • Duration : 12 hours
Scroll Up
Skip to toolbar