How to use the Nginx Config Generator
Frequently asked questions
Which PHP socket path should I use?
Check /run/php/ — it is usually php8.x-fpm.sock matching your PHP version.
Does it support WebSockets in proxy mode?
Yes, Upgrade and Connection headers are included.
Is it safe to use as-is?
It follows common best practice, but always run nginx -t before reloading.

