How to bind to Unix domain socket instead of localhost #1362
Replies: 7 comments
-
"radicale" is a network service, what would be the purpose for using a "unix domain socket"? |
Beta Was this translation helpful? Give feedback.
-
The built-in WSGI server is minimalistic and doesn't support it. You have to use something like uWSGI or Gunicorn.
@pbiering For example, it can be useful in combination with a local reverse proxy. You don't need to expose a port on the loopback interface.
|
Beta Was this translation helpful? Give feedback.
-
Again what learnt, found also that Apache is supporting it: https://stackoverflow.com/questions/51243332/apache-proxy-pass-to-unix-domain-socket Can be helpful to prevent at least sniffing on loopback interface e.g. with |
Beta Was this translation helpful? Give feedback.
-
I second the need for unix domain socket support. Adding support for it is easy in Python and it's more secure and flexible. |
Beta Was this translation helpful? Give feedback.
-
According to @Unrud it is not possible at the moment -> one has to investigate how to support and contribute |
Beta Was this translation helpful? Give feedback.
-
Why was this issue closed? The issue is still present in Radicale. |
Beta Was this translation helpful? Give feedback.
-
@flux77 : discussion reopend but requires contribution. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to bind Radicale to a Unix domain socket instead of localhost? I tried this in my configuration file:
But Radicale refuses to start. It gives this error message:
Is there a correct way to do this?
Beta Was this translation helpful? Give feedback.
All reactions