diff --git a/hosts/heather/arion-compose.nix b/hosts/heather/arion-compose.nix index 75d4c14..0859d50 100644 --- a/hosts/heather/arion-compose.nix +++ b/hosts/heather/arion-compose.nix @@ -174,6 +174,9 @@ in service.image = "ghcr.io/xtls/xray-core:latest"; service.container_name = "xray"; service.restart = "unless-stopped"; + # Образ по умолчанию читает -confdir /usr/local/etc/xray/ (split-конфиги). + # Переопределяем на единый config.json с VLESS+Reality. + service.command = [ "-config" "/etc/xray/config.json" ]; service.volumes = [ "/var/lib/xray-secrets/config.json:/etc/xray/config.json:ro" ];