Thursday, 18 February 2021

NGINX Tuning For Best Performance

php-fpm 

upstream php-service {
  server unix:/run/php/php7.4-fpm-01.sock weight=100 max_fails=5 fail_timeout=5;
  server unix:/run/php/php7.4-fpm-02.sock weight=100 max_fails=5 fail_timeout=5;
}

Referensi

  1. NGINX Tuning For Best Performance, https://github.com/denji/nginx-tuning
  2. Performance Tuning NGINX and PHP-fpm for Xenforo , https://sourcecloud.co.uk/blogs/performance-tuning-nginx-and-php-fpm-for-xenforo/