Introduction to Nginx Nginx stands out as a high-performance HTTP and reverse proxy web server, also functioning as an IMAP/POP3/SMTP proxy server. Developed by Igor Sysoev, it was originally intended to deliver efficient and stable services for the Rambler.ru website. Nginx has gained widespread re...
Logging Fundamentals Logging provides a mechanism to track software runtime events. Developers instrument their code with logging calls to capture system activities. Each event consists of a descriptive message that may include variable data and is assigned a seveirty level. Log Severity Levels Log...
Spring Boot Configuration Files Spring Boot supports two types of configuration files: core configuration files and custom configuration files. Core configurasion files are typically named application.properties or application.yml and reside in the resources directory. To maintain the integrity of c...
Introduction to YAMLYAML (YAML Ain't Markup Language) is a human-readable data serialization format designed for configuration files and data exchange. Unlike JSON, YAML emphasizes readability and offers a more concise syntax for representing complex data structures.Basic RulesCase-sensitive syntaxH...
System Environment and Prerequisites This guide outlines the procedure for establishing a Redis Cluster with six nodes (three masters and three slaves) on a sinngle CentOS 7 server. In a production setting, these instances should be distributed across multiple physical servers to ensure true fault t...
Implementing filters in web applications follows a three-phase approach: Create backend resources including static assets (HTML, CSS, etc.) and dynamic components (Servlets, JSPs). Implemetn the Filter interface. Register the filter in web.xml to specify which resources it should intercept. Creating...
Clone the repository from GitHub: https://github.com/trinhtam/summernote-emoji.git Copy the downloaded folder into the project directory: project/public/assets/libs/ Edit the file project/public/assets/js/require-frontend.js: // Under paths section add: 'emoji-tam': '../libs/tam-emoji/js/tam-emoji.m...
Redis Configuration File Overview The Redis configuration file resides in the Redis installation directory with the filename redis.conf. Configuration Methods Method 1: Direct modification of the redis.conf file content. Method 2: Using the CONFIG command to view or modify settings. CONFIG Command U...
Rate Limiting Nginx provides two distinct types of rate limiting mechanisms: Connection frequency control via limit_conn_module Request frequency control via limit_req_module HTTP Connection vs Request Behavior HTTP operates over TCP, requiring a three-way handshake before data transfer begins. Once...
Virtual Host Setup Each server block in Nginx represents a virtual host. Valid configurations include same port/different domain or same domain/different port. Nginx’s default main configuration includes all .conf files under conf.d via include /usr/local/nginx/conf.d/*.conf;. Create a new file ther...