Running v2ray in docker container, inbound Trojan, listening on unix domain socket, serving as backend for nginx proxy
What problems have you encountered?
The socket file has default file mode of 0755 and not changable via config file.
nginx has to run as the same user as v2ray to access the socket file, which is not feasible in prod env.
What's your expectation?
Allowing setting socket file permission via config file - this feature exists in xray, in the format like
"listen": "/dev/shm/v2fly.sock,0666"
Abstract domain socket is not a solution because 1) neither nginx nor caddy supports that as of now, and 2) even if they do, for docker, there is no way to share the abstracted domain socket between container and the host.
What version of V2Ray are you using?
v5.7.0
What's your scenario of using V2Ray?
Running v2ray in docker container, inbound Trojan, listening on unix domain socket, serving as backend for nginx proxy
What problems have you encountered?
The socket file has default file mode of 0755 and not changable via config file. nginx has to run as the same user as v2ray to access the socket file, which is not feasible in prod env.
What's your expectation?
Allowing setting socket file permission via config file - this feature exists in xray, in the format like
"listen": "/dev/shm/v2fly.sock,0666"
Abstract domain socket is not a solution because 1) neither nginx nor caddy supports that as of now, and 2) even if they do, for docker, there is no way to share the abstracted domain socket between container and the host.Please attach your configuration here
Server configuration:
Other configurations (such as Nginx) and logs here