yukimochi / Activity-Relay

Yet another powerful customizable ActivityPub relay server written in Go.
https://relay.toot.yukimochi.jp/
GNU Affero General Public License v3.0
278 stars 39 forks source link

UNIX socket support for REDIS_URL #88

Open girlbossceo opened 10 months ago

girlbossceo commented 10 months ago

Hi, I'd like to use a UNIX socket in my REDIS_URL, mainly for an additional security benefit but all variations of using a direct path in the REDIS_URL yaml key do not work.

Sep 06 00:56:53 plus.st relay[847477]: FATA[0000] REDIS_URL: invalid redis URL path: /run/redis/redis.sock

I have tried:

And none of them work. Is there something wrong I'm doing? If not, can UNIX support be added?

jkjoy commented 7 months ago

redis://localhost:6379