Server

This content has been moved from Qiita. Let’s use Let’s Encrypt with Sakura Cloud Web Accelerator. Update (2021/01/29) The Web Accelerator now has an auto-renewal feature for Let’s Encrypt, so there’s no need for the following efforts anymore! 🎉 Announcing Automatic Renewal of Let’s Encrypt Certificates on Web Accelerator Using Automatic Renewal Certificates for Let’s Encrypt on Web Accelerator Overview When using a custom domain with Sakura Cloud Web Accelerator, you can enable SSL (including HTTP2 support) by installing an SSL certificate. …
This content has been moved from Qiita. In a certain setup, keepalived is used as a load balancer with VRRP and LVS. This load balancer is configured with numerous IP addresses (due to SSL certificates, etc.) as shown below. I encountered a problem where the newly added IP addresses had no connectivity. keepalived Load Balancer Configuration (DSR Configuration) IP addresses used for SSL on the VIP are routed from the router using static routes and added as needed. …
This content has been moved from Qiita. There are times when you want to relax the Max open files setting for services like nginx. Prior to CentOS7, which did not use systemd, we had to modify limits.conf. However, with systemd, the process is simpler. Let’s assume we’re having trouble with nginx. Checking the Current Settings # grep "^Max open files" /proc/`cat /var/run/nginx.pid`/limits Max open files 1024 4096 files Currently, the hard limit is 4096, meaning that a single process cannot open more than 4096 files. …