Skip to content

Instantly share code, notes, and snippets.

@tleen
Created August 16, 2014 00:23
Show Gist options
  • Save tleen/6fc7055c1a865c56cf94 to your computer and use it in GitHub Desktop.
Save tleen/6fc7055c1a865c56cf94 to your computer and use it in GitHub Desktop.
php-fpm access denied .html
By default php-fpm only parses files ending in .php, you can change it in the php-fpm config file (which may be under php-fpm.d/www.conf):
;security.limit_extensions = .php .php3 .php4 .php5
to
security.limit_extensions = .php .html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment