Setting Up an HTTP Server on Termux: Lightweight, Process Management, Logging, and Reverse Proxy Optimization

Setting up a production-grade HTTP server on Termux requires consideration of stability, performance, security, and resource usage. Below is a complete solution for building a web server using Python 3.12.12, incorporating a lightweight WSGI server, process management, logging, and reverse proxy optimization: Solution Architecture [Client] → [Caddy (Reverse Proxy/SSL)] → [Gunicorn (WSGI Server)] → [Flask/FastAPI … Read more

Setting Up a Local JavaScript Runtime Environment on Embedded Linux Systems

Embedded Linux systems often require a lightweight JavaScript runtime environment that supports Node.js or pure JavaScript engines (such as Duktape or QuickJS). The following steps outline the setup method and example tests. Environment Selection and Installation Depending on the resource limitations of the embedded device, the following options can be selected: Node.js Option: Suitable for … Read more

Node.js Network Development: Building an HTTP Server

Let’s delve into the core aspects of Node.js network development: building an HTTP server and implementing routing control. This content is the foundation of all Node.js-based web frameworks (such as Express, Koa). Understanding it will give you a deeper insight into what these frameworks actually do. — ### **6.3 Building an HTTP Server** In Node.js, … Read more

Hardcore Essentials: Complete Process of Installing Nginx from Source on Linux (Including Dependency Configuration)

1.Preparation: Download the Nginx Source Package Visit the Nginx Official Website to Obtain the Source Code Open your browser and visit the Nginx official download page: https://nginx.org/en/download.html, and select the appropriate stable version (for example, nginx-1.24.0, the stable version is usually more suitable for production environments). Download the source package via command line Log in … Read more

Practical Implementation of Asynchronous File Operations and HTTP Server in C#

Practical Implementation of Asynchronous File Operations and HTTP Server in C# This article will introduce various implementations of asynchronous file read and write operations in C#, as well as how to build a simple asynchronous HTTP server and client. Detailed Explanation of Asynchronous File Operations Four Methods of Asynchronous File Writing // Method 1: Default … Read more

HTTP Server Component Implemented in QTC++

This component implements a lightweight, high-performance HTTP server based on the Qt framework, supporting three communication protocols: TCP/HTTP, SSL/HTTPS, and local sockets. This library provides complete HTTP protocol parsing capabilities, automatically handling request methods, URL paths, query parameters, request headers, and request bodies, and supports various response formats including text, JSON, files, images, and binary … Read more

Wi-Fi Configuration: Quick Configuration Solution Using SoftAP

Wi-Fi Configuration: Quick Configuration Solution Using SoftAP

The Air8101 series is a multimedia industrial engine product promoted by Hezhao, supporting rich multimedia application capabilities such as video, audio, and graphical display. It features Wi-Fi/Ethernet/Bluetooth/external 4G connectivity capabilities and can be widely used in AIoT field smart terminals. New friends have asked: How to configure Wi-Fi? The Air8101 series is based on the … Read more

Recommended High-Performance Lightweight HTTP Server in Rust

Recommended High-Performance Lightweight HTTP Server in Rust

Clickthe blue text to follow us 1. Core Features 1.Cross-Platform Support • Compatible with Windows, macOS, and Linux, ensuring a consistent experience across multiple systems.• Colorful log output enhances debugging and monitoring efficiency. 2.High Performance and Security •Multithreaded Architecture: Supports customizable worker thread count (default is 3), fully utilizing multicore resources.•Rust Ecosystem Advantages: Memory safety … Read more

Building a Minimal C++ HTTP Server from Scratch: Core Principles and Implementation

Building a Minimal C++ HTTP Server from Scratch: Core Principles and Implementation

Recently, while assisting a friend with a small tool project, I encountered a requirement: to embed a local HTTP service so that the frontend can access and control the backend logic. It sounds simple, but if we want to implement a minimal HTTP server from scratch using standard C++ network programming without relying on existing … Read more

Router Configuration Commands for Huawei – HTTP Server Commands

Router Configuration Commands for Huawei - HTTP Server Commands

# Configure Router HTTP Server Address # Configure Router Web Server Timeout HuaweiNetEngine AR600, AR6100, AR6200, AR6300 Series Routers—Basic Configuration Commands Routers, Switches, FirewallsDetailed Configuration Document Knowledge Base has been established, and can be queried in the dialog box! HTTP Server Commands ● Configure HTTP Server Source AddressCommandhttp server-source ● Configure Web Server TimeoutCommandhttp timeout … Read more