Nginx
-
Let’s Encrypt SSL Certificate Installation (CentOS + Nginx), along with Scoring and Automatic Renewal
Yesterday I tried GoDaddy's SSL certificate and found it wasn't very reliable, so I looked into Let's Encrypt. Many personal websites are now migrating to Let's Encrypt, and it has a strong backing; various large companies sponsor it. Let's…
-
SSL certificate generation and Nginx configuration, UCC certificate generation (Linux)
I spent some time researching SSL certificates today and found that many free ones are unreliable, while the paid ones are varied and inconsistent. I ultimately chose the reputable GoDaddy. Let me briefly introduce SSL HTTPS certificates. Certificates are mainly divided into three types: DV (Domain Verification), primarily for domain verification, and the cheapest and most practical; and OV (Original Verification)...
-
AWS Practical Guide – Installing and Configuring PHP+Nginx Servers on EC2, RDS, and S3
Today, a company project required migrating the website server to AWS. I'm documenting this here for my own future reference and to share with others. AWS provides the following solution: Simply put, an EC2 host is used to install PHP and load balancing, an RDS host is used to install the database, and so on…
-
Detailed Explanation of Nginx Configuration File Optimization
1. Main configuration file optimization: # vi /usr/local/nginx/conf/nginx.conf —————————————– user nginx nginx; worker_processes 8…
-
Nginx multi-core CPU worker_cpu_affinity usage methods and examples
Nginx does not enable multi-core CPU utilization by default. We can fully utilize multi-core CPUs by increasing the `worker_cpu_affinity` configuration parameter. The CPU is the most critical resource for task processing and computation; the more CPU cores, the better the performance. Configuring Nginx multi-core CPUs…
-
Two process management methods and optimizations of php-fpm used by Nginx
php-fpm currently has two main branches, corresponding to php-5.2.x and php-5.3.x versions respectively. In version 5.2.x, php-fpm.conf uses the XML format, while in the newer 5.3.x version, it uses the php…