NGINX is a high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. It is known for its stability, rich feature set, simple configuration, and low resource consumption.
For more information, visit the official NGINX website and the NGINX documentation.
This folder contains various configuration files for NGINX, useful as templates for managing HTTP configuration.
Configures proxy headers to forward client information to the backend server. Example:
- Sets headers like
Host,X-Real-IP,X-Forwarded-For, andX-Forwarded-Proto.
Configures the proxy to handle WebSocket connections. Example:
- Upgrades HTTP connections to WebSocket using headers like
UpgradeandConnection.
Configures a redirect to a specific domain. Example:
- Redirects all traffic to
https://www.marcocusano.dev.
Configures a default redirect to HTTPS. Example:
- Redirects all HTTP traffic to HTTPS using the same host.
Sets the default server root directory and index files. Example:
- Defines the root directory as
/var/www/htmland sets default index files likeindex.phpandindex.html.
Configuration files for various services.
- phpMyAdmin
- pgAdmin
Configures allowed and denied access based on IP addresses. Example:
- Allows access from a specific IP address and denies all other traffic.