Category: Webserver

  • Run PHP-FPM (FastCGI) with NGINX

    Install PHP-FPM (FastCGI) and NGINX Selinux Create new website: New user and project Create new php-fpm pool New file: /etc/php-fpm.d/domain.com.conf: Restart Create Nginx config: Restart Install SSL Install certbot: Create cert Then update cert to nginx config with new server block for port 443 ssl with fastcgi_param HTTPS on; and declare cert & key. Some…