openSUSE / travel-support-program

A rails app to support the travel support program of openSUSE (TSP)
https://tsp.opensuse.org/
GNU Affero General Public License v3.0
17 stars 21 forks source link

Support Unix socket listener #270

Closed tacerus closed 8 months ago

tacerus commented 8 months ago

This removes the "port" directive in favor of "bind", and for consistency also exchanges the "PORT" variable with "BIND". This allows users to override the default TCP listener with not only a different port, but also optionally with a Unix socket, by setting a "BIND" environment variable, without having to modify puma.rb.

The default listener is additionally changed to localhost to improve security in installations without customization.

tacerus commented 8 months ago

I don't know how to interpret the test failure.