Skip to content

Instantly share code, notes, and snippets.

Created November 30, 2017 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/59168f74188769d266985baa9f9ba486 to your computer and use it in GitHub Desktop.
Save anonymous/59168f74188769d266985baa9f9ba486 to your computer and use it in GitHub Desktop.
Example code
<IfModule mod_fastcgi.c>
SetHandler php7-fcgi .php
Action php7-fcgi /php7-fcgi virtual
Alias /php7-fcgi /usr/lib/cgi-bin/php7-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -socket /var/run/php/php7.0-fpm.sock -pass-header Authorization
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment