Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
###
### Send other known php requests/files to php-fpm without any caching.
###
location ~* ^/core/.*\.php$ {
access_log off;
try_files $uri =404; ### check for existence of php file first
fastcgi_pass 127.0.0.1:9000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment