Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Inception - NGINX

NGINX is a high-performance, open-source web server and reverse proxy server software. It's known for its efficiency in handling concurrent connections and serving static content quickly. NGINX is often used as a load balancer, reverse proxy, or HTTP cache in front of web servers to improve performance, scalability, and reliability of web applications. Additionally, NGINX is commonly utilized as a web server itself, capable of serving static and dynamic content while efficiently managing resources. It's highly configurable and widely used in various web hosting setups, including serving websites, APIs, and microservices architectures.

Table of Contents

Transport Layer Security

TLS is a cryptographic protocol used to secure communication over a computer network, commonly used for securing data transfer between a web server and a client's web browser. It is the successor to SSL (Security Sockers Layer) and often still referred to as such. TLS ensures that data transmitted between the server and the client is encrypted and remains confidential, protecting it from eavesdropping and tampering by malicious actors.

Using the command-line tool openssl req a self-signed certificated is generated. It generates a private key which is used for to encrypt and sign data, and a certificate, which contains server information and a public key.

NGINX Configuration

Each website available through NGINX has its configuration stored in /etc/nginx/sites-available. The wordpress website has been enabled with a symbolic link to /etc/nginx/sites-enabled/.

File Description Configuration Adjustments
nginx.conf The main configuration file for NGINX. It contains global directives that apply to the entire NGINX server, including settings related to server behavior, performance tuning, logging, and other global parameters. It also includes directives for including additional configuration files. Set NGINX to listen to port 443 for both IPv4 and IPv6.
Set NGINX to use the TLSv1.2 and TLSv1.3 protocols.
Specifies the locations of the private key and certificate.
Specifies the websites basic information.
Sets the FastCGI (Fast Common Gateway Interface) protocol to the WordPress website over port 9000.