(70007) The timeout specified has expired error

NethServer Version: NethServer release 7.8.2003 (final)
Module: php73-php-fpm
Module: httpd

I have a script running on the server in /var/www/html/myscript/ whenever I load the script at http://host.example.com/myscript I get the following error

(70007)The timeout specified has expired: [client] AH01075: Error dispatching request to :, referer: http://host.example.com/myscript/index.php?app=main

I made made the custom template according to this post - Apache / php-fpm ProxyTimeout

Can anyone help?

You are using the default virtual host (/var/www/html) but the post describes a solution for custom virtual hosts so you could create one and put your script there.
I didn’t test but as an alternative you may try to add the TimeOut to /etc/httpd/conf/httpd.conf