Created
April 2, 2021 14:50
-
-
Save molotovbliss/06c1d0bcc0794e837d5a4f8d65f48062 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<FilesMatch \.php$> | |
<If "%{HTTP_COOKIE} =~ /XDEBUG_SESSION/"> | |
SetHandler "proxy:fcgi://10.0.2.2:9172" | |
</If> | |
<Else> | |
SetHandler "proxy:fcgi://10.0.2.2:9072" | |
</Else> | |
ProxyFCGISetEnvIf "true" PATH_INFO "%{reqenv:SCRIPT_NAME}" | |
ProxyFCGISetEnvIf "true" SCRIPT_FILENAME "/var/www/vhosts/magento/pub%{reqenv:SCRIPT_NAME}" | |
</If> | |
</FilesMatch> |
Blaimi
commented
Jan 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment