Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fhuitelec/ad6fa1b9069cb86a1692f8a1545767a5 to your computer and use it in GitHub Desktop.
Save fhuitelec/ad6fa1b9069cb86a1692f8a1545767a5 to your computer and use it in GitHub Desktop.
Medium article - PHP-FPM/NGINX one build artifact - right conf
server {
// [...]
location ~ ^/index\.php(/|$) {
// [...]
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
internal;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment