diff --git a/configs/shared-vhost-template.tpl b/configs/shared-vhost-template.tpl index 2334437..b389793 100644 --- a/configs/shared-vhost-template.tpl +++ b/configs/shared-vhost-template.tpl @@ -27,17 +27,7 @@ SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key - - SetHandler "proxy:fcgi://~~fpm_host~~:~~fpm_port~~" - - - # The shared httpd serves files from /mnt/users/{user}/{domain}/public_html - # but the FPM container has them at /home/{user}/public_html. - # Override both DOCUMENT_ROOT and SCRIPT_FILENAME so PHP sees the - # correct paths (required for plugins like WordFence that use - # $_SERVER['DOCUMENT_ROOT'] to locate config files). - ProxyFCGISetEnvIf "true" DOCUMENT_ROOT "/home/~~user~~/public_html" - ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/home/~~user~~/public_html%{reqenv:SCRIPT_NAME}" + ~~proxy_block~~ DirectoryIndex index.php index.html index.htm