Skip to content

allow binding to a unix domain socket #5290

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ewdurbin
Copy link

@ewdurbin ewdurbin commented Apr 8, 2025

Changes

The infrastructure I am running plausible on enforces that client applications cannot bind to TCP ports, and must expose their services on unix domain sockets.

This change binds the PlausibleWeb.Endpoint to a unix domain socket at the path specified by the HTTP_UDS if it is defined.

If the approach/feature is acceptable I'm happy to complete the requirements list below, but wanted to open it first for feedback before investing time.

Tests

  • Automated tests have been added
  • This PR does not require tests

Changelog

  • Entry has been added to changelog
  • This PR does not make a user-facing change

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

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.

1 participant