diff --git a/setupninja.sh b/setupninja.sh index bb0cd43..a8f101e 100644 --- a/setupninja.sh +++ b/setupninja.sh @@ -440,6 +440,10 @@ function vhostninja { echo " Require all granted" >> /etc/apache2/sites-available/$appdbname.conf echo " " >> /etc/apache2/sites-available/$appdbname.conf echo "" >> /etc/apache2/sites-available/$appdbname.conf + echo " " >> /etc/apache2/sites-available/$appdbname.conf + echo " SetHandler \"proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost\"" >> /etc/apache2/sites-available/$appdbname.conf + echo " " >> /etc/apache2/sites-available/$appdbname.conf + echo "" >> /etc/apache2/sites-available/$appdbname.conf echo " ErrorLog ${APACHE_LOG_DIR}/$appdbname_error.log" >> /etc/apache2/sites-available/$appdbname.conf echo " CustomLog ${APACHE_LOG_DIR}/$appdbname_access.log combined" >> /etc/apache2/sites-available/$appdbname.conf echo "" >> /etc/apache2/sites-available/$appdbname.conf