Category: Proxy

  • Count connections to the Server

    Find nginx pid: Results: pool: mean nginx run php-fpm master: not worker, just is a parent cache manager: Just for cache color=auto: The ps -ef | grep nginx worker process: This is result. 57234 is parent pid, this pid is 57235 So, if we have many worker process pids from 1833681 to 1833692. We can…

  • NGINX – Installation and configuration

    It’s easy to install NGINX from the repo. For example on RHEL/ Centos/ Rocky Linux: So, this tutorial I want to show you how to install from source. You can read something here for NGINX and streaming: [Full install] Streaming HLS with Nginx & FFMPEG (quicktricks.net). Or below: Preparing for the installation Install some required…

  • Config Cyberpanel/ OpenLiteSpeed server to run NodeJS on port 80/443

    If you use LiteSpeed, you can run NodeJS project as a PHP project. Step 1: Add a domain (example domain.com) to your server You need to: Create a folder to upload your code. Or create by Cyberpanel admin tool (recommend). Add new DNS record (A) from domain to your server IP Step 2: Modify the…