Skip to content

Instantly share code, notes, and snippets.

@molotovbliss
Created April 2, 2021 14:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save molotovbliss/06c1d0bcc0794e837d5a4f8d65f48062 to your computer and use it in GitHub Desktop.
Save molotovbliss/06c1d0bcc0794e837d5a4f8d65f48062 to your computer and use it in GitHub Desktop.
<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
Copy link

Blaimi commented Jan 20, 2023

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment