Skip to content

Instantly share code, notes, and snippets.

@EngKhaledB
Last active December 12, 2023 15:30
Show Gist options
  • Save EngKhaledB/b1813190143e67261e59f1e14d48d823 to your computer and use it in GitHub Desktop.
Save EngKhaledB/b1813190143e67261e59f1e14d48d823 to your computer and use it in GitHub Desktop.
If you have slow NGINX PHP-FPM performance on Windows Subsytem for Linux (WSL) .. here is the Solution!

1- Locate nginx.conf on your server, which almost on this path /etc/nginx/nginx.conf

2- Add this code under the http block fastcgi_buffering off;

Refrence: microsoft/WSL#2100 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment