From 2fb4ba607871bfa0dd2c9d797225dda38fc9bb67 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Fri, 10 May 2024 19:44:55 +0200 Subject: [PATCH] Update SVR.JS documentation to include more PHP-FPM information --- source/docs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/docs.md b/source/docs.md index 03300e2..1e08fee 100644 --- a/source/docs.md +++ b/source/docs.md @@ -830,6 +830,8 @@ And configure _greenrhombus-scriptexts.json_ like this: PHP-FPM may run on different user than SVR.JS web server, so you may need to set permissions for the user, which PHP-FPM runs on. +If you are using PHP-FPM only for SVR.JS, you can set the _listen.owner_ and _listen.group_ properties to _svrjs_ in the PHP-FPM configuration file (e.g. _/etc/php/8.2/fpm/pool.d/www__.conf_). + ### Forward proxy notes In order to use SVR.JS as a forward proxy, you need to install forward-proxy-mod SVR.JS mod. [Download this mod.](https://svrjs.org/mods)