Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Unix socket #151

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Use Unix socket #151

merged 1 commit into from
Apr 25, 2024

Conversation

tacerus
Copy link
Member

@tacerus tacerus commented Oct 31, 2023

This sets the default configuration to listen on a Unix socket. Since the backend on our reference instance is proxied by a local web server, there is no need to for it to bind on a TCP listener.

We are using bind 'unix:///run/paste/puma' on our reference instance (paste.opensuse.org) since some months already, this patch slightly adjusts the configuration to allow for the path to be overwritten using an environment variable.

This sets the default configuration to listen on a Unix socket.
Since the backend on our reference instance is proxied by a local
web server, there is no need to for it to bind on a TCP listener.

We are using `bind 'unix:///run/paste/puma'` on our reference instance
(paste.opensuse.org) since some months already, this patch slightly
adjusts the configuration to allow for the path to be overwritten using
an environment variable.

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
@hellcp hellcp merged commit 4f4dda0 into openSUSE:main Apr 25, 2024
1 of 2 checks passed
@tacerus tacerus deleted the socket branch April 25, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants