Yes, you can set any arbitrary environment variables you want. See section "About environment variables" from the Phusion Passenger manual.
Passenger 4 & JRuby: setting JRUBY_OPTS
-
28-06-2022 - |
Question
I know i can specify the ruby executable to use with passenger_ruby for a particular virtual server, but is there an easy way to specify the JRUBY_OPTS env variable I want to set for that particular executable?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow