Skip to content

Instantly share code, notes, and snippets.

@sowich
Created November 6, 2024 11:48
Show Gist options
  • Save sowich/9e9cecfcb8c7babb9d20bd747a04571b to your computer and use it in GitHub Desktop.
Save sowich/9e9cecfcb8c7babb9d20bd747a04571b to your computer and use it in GitHub Desktop.
cgi-fcgi.txt
QUERY_STRING="" \
HTTP_X_REQUEST_ID=123 \
REQUEST_URI=api/v1/product/filter \
SCRIPT_NAME=index.php \
SCRIPT_FILENAME=/var/www/app/public/index.php \
REQUEST_METHOD=GET \
cgi-fcgi -bind -connect /run/php-fpm/www.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment