This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config Apache PHP-FPM | |
<FilesMatch \.php$> | |
SetHandler "proxy:fcgi://127.0.0.1:5555" | |
# Catch backend errors | |
ProxyErrorOverride On | |
# Return a custom error | |
ErrorDocument 500 "==== hoho =====" | |
</FilesMatch> |