- Plesk Onyx for Linux
- Plesk Onyx 17.5 for Linux
Ruby or Node.js environment variables list is reset if the directive containing all variables is longer than 256 characters.
This is an bug with ID EXTRUBY-39 for Ruby and EXTNODEJS-50 for Node.js EXTRUBY-39 is planned to be fixed in future product updates.
Bug EXTNODEJS-50 has been fixed in extension Node.js v.1.3.3.
As a workaround, use the following:
For the domains served by Apache set the variable via Additional Apache directives in Domains > example.com > Apache & nginx Settings as follows:
SetEnv variable value
For the domains served by nginx set the variable via Additional nginx directives in Domains > example.com > Apache & nginx Settings as follows:
passenger_env_var $variable value;