Passenger uses inter process communication with Node.js, Ruby, Python and Meteor apps using Unix domain sockets. Passenger 6's new Generic Language Support supports other languages using the passenger_app_start_command directive (using the NGINX example), where you specify $PORT in the command and Passenger will search for an open port when starting the application.
It would be great to be able to configure a Passenger app using GLS to use a Unix domain socket instead of a TCP socket. This would be especially useful in cases where port exhaustion or unauthenticated apps listening on TCP sockets could be problematic.
Question 2: Passenger version and integration mode:
Your answer:
open source 6.0.2/nginx
Question 3: OS or Linux distro, platform (including version):
Your answer:
RHEL7, x86_64
Question 4: Passenger installation method:
Your answer:
[ ] RubyGems + Gemfile
[ ] RubyGems, no Gemfile
[ ] Phusion APT repo
[ ] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[x] Other, please specify:
Issue report
Question 1: What is the problem?
Your answer:
Passenger uses inter process communication with Node.js, Ruby, Python and Meteor apps using Unix domain sockets. Passenger 6's new Generic Language Support supports other languages using the passenger_app_start_command directive (using the NGINX example), where you specify
$PORT
in the command and Passenger will search for an open port when starting the application.It would be great to be able to configure a Passenger app using GLS to use a Unix domain socket instead of a TCP socket. This would be especially useful in cases where port exhaustion or unauthenticated apps listening on TCP sockets could be problematic.
Question 2: Passenger version and integration mode:
Your answer:
open source 6.0.2/nginx
Question 3: OS or Linux distro, platform (including version):
Your answer:
RHEL7, x86_64
Question 4: Passenger installation method:
Your answer: [ ] RubyGems + Gemfile [ ] RubyGems, no Gemfile [ ] Phusion APT repo [ ] Phusion YUM repo [ ] OS X Homebrew [ ] source tarball [x] Other, please specify:
https://github.com/OSC/passenger_rpm_automation - a fork of phusion/passenger_rpm_automation so we can make an rpm of Phusion Passenger work with https://www.softwarecollections.org/en/