Description
Nginx is a high-performance web server that stands out from its main competitor Apache thanks to its modular design. Present on around 20% of Web servers in France, Nginx continues to appeal to Web administrators looking for high performance. For professionals who have chosen this solution, a 3-day training course is available to teach them how to install and administer an Nginx server with the necessary knowledge and skills.
Who is this training for ?
For whom ?
Anyone wishing to configure, install and operate an Nginx server
Prerequisites
Know the basics of TCP/IP and web technologies
Training objectives
Training program
- Introduction
- Presentation, history, license
- Features: http server, reverse proxy, messaging proxy, video content streaming, ...
- Supported platforms
- Architecture: asynchronous server principle, modularity
- Implementation
- Choice of modules, a version/distribution
- Practical work: installation, startup, basic configuration
- Protocole HTTP
- How it works, query format
- Methods
- Syntax of a URL
- Nginx Server Configuration
- Study of the file /etc/nginx/nginx.conf: http-block, server-block, location-block
- Setting up a primary site
- Internal name of the server, DNS reminder, home page, file types, aliases, definition of relative paths
- Practical work: implementation with creation of a Nginx server site and configuration
- Virtual Hosts and locations
- Principle, configuration, virtual hosts based on the IP address, on the name
- Configuration of URLs
- Scripts CGI
- Running applications in PHP, in Python
- Proxy server
- Nginx configuration as reverse proxy and messaging proxy
- Exploitation
- Site administration
- Log files: creation of separate log files for each virtual hotel
- Log file rotation mechanism
- Analysis of information stored in logs
- Practical work: loading the site and visualizing behavior
- Security
- The HttpAuthBasicModule module
- Implementation of the auth_basic and auth_basic_user_file directives
- Creation of login/password: htpasswd-b or htpasswd-perl
- Access restriction based on IP address: allow and deny directives, and with password restriction: satisfy directive
- Migration
- Comparison of Nginx and Apache servers
- Migration tips