# settings

key: xrayTemplateConfig
value:
  {
    "log": {
      "access": "/dev/null",
      "error": "/var/log/xray-error.log",
      "loglevel": "debug",
      "timestamp": true
    },
    "api": {
      "tag": "api",
      "services": [
        "HandlerService",
        "LoggerService",
        "StatsService"
      ]
    },
    "inbounds": [
      {
        "tag": "api",
        "listen": "127.0.0.1",
        "port": 62789,
        "protocol": "dokodemo-door",
        "settings": {
          "address": "127.0.0.1"
        }
      }
    ],
    "outbounds": [
      {
        "protocol": "freedom",
        "tag": "direct",
        "settings": {
          "domainStrategy": "ForceIPv4"
        },
        "streamSettings": {
          "sockopt": {
            "mark": 255,
            "tcpFastOpen": true,
            "tcpKeepAliveIdle": 20,
            "tcpNoDelay": true
          }
        }
      },
      {
        "protocol": "blackhole",
        "tag": "blocked",
        "settings": {
          "response": {
            "type": "http"
          }
        }
      },
      {
        "protocol": "dns",
        "tag": "dns-out"
      }
    ],
    "routing": {
      "domainStrategy": "IPOnDemand",
      "domainMatcher": "mph",
      "rules": [
        {
          "inboundTag": [
            "api"
          ],
          "outboundTag": "dns-out",
          "type": "field"
        },
        {
          "type": "field",
          "protocol": [
            "bittorrent"
          ],
          "outboundTag": "blocked"
        },
        {
          "type": "field",
          "domain": [
            "regexp:(^|\\.)torrent($|\\.)",
            "regexp:(^|\\.)bittorrent($|\\.)",
            "regexp:(^|\\.)peer($|\\.)",
            "regexp:(^|\\.)tracker($|\\.)",
            "regexp:(^|\\.)piratebay($|\\.)",
            "regexp:(^|\\.)1337x($|\\.)",
            "regexp:(^|\\.)yts($|\\.)"
          ],
          "outboundTag": "blocked"
        }
      ],
      "balancers": [
        {
          "tag": "main",
          "selector": [
            "proxy",
            "proxy-backup"
          ]
        }
      ]
    },
    "dns": {
      "hosts": {
        "domain:googleapis.cn": "googleapis.com",
        "dns.alidns.com": [
          "223.5.5.5",
          "223.6.6.6"
        ],
        "one.one.one.one": [
          "1.1.1.1",
          "1.0.0.1"
        ],
        "dot.pub": [
          "1.12.12.12",
          "120.53.53.53"
        ],
        "dns.google": [
          "8.8.8.8",
          "8.8.4.4"
        ],
        "dns.quad9.net": [
          "9.9.9.9",
          "149.112.112.112"
        ],
        "common.dot.dns.yandex.net": [
          "77.88.8.8",
          "77.88.8.1"
        ]
      },
      "servers": [
        {
          "address": "https://dns.google/dns-query",
          "domains": []
        },
        "1.1.1.1"
      ],
      "queryStrategy": "UseIPv4"
    },
    "fakedns": [
      {
        "ipPool": "198.18.0.0/15",
        "poolSize": 10000
      }
    ],
    "policy": {
      "levels": {
        "0": {
          "handshake": 4,
          "connIdle": 300,
          "uplinkOnly": 1,
          "downlinkOnly": 1,
          "statsUserUplink": true,
          "statsUserDownlink": true
        }
      },
      "system": {
        "statsInboundUplink": true,
        "statsInboundDownlink": true,
        "statsOutboundUplink": true,
        "statsOutboundDownlink": true
      }
    },
    "stats": {}
  }


# inbounds

protocol: vless
tag: inbound-443
allocate:
  {
  "strategy": "always",
  "refresh": 5,
  "concurrency": 3
  }

settings:
  {
    "clients": [
      {
        "id": "176e2927-b6b9-452a-bce2-ed3c5347c6b7",
        "flow": "",
        "email": "8hl987d7",
        "limitIp": 0,
        "totalGB": 0,
        "expiryTime": 0,
        "enable": true,
        "tgId": "",
        "subId": "sa3dxb8y8xvvtzna",
        "comment": "",
        "reset": 0
      }
    ],
    "decryption": "none",
    "fallbacks": []
  }

stream_settings:
  {
    "network": "xhttp",
    "security": "reality",
    "externalProxy": [],
    "realitySettings": {
      "show": false,
      "xver": 0,
      "dest": "snapp.ir:443",
      "serverNames": [
        "api.snapp.ir",
        "app.snapp.ir",
        "services.snapp.ir",
        "kb.snapp.ir",
        "shop.snapp.ir",
        "pay.snapp.ir",
        "www.snapp.ir",
        "jira.snapp.ir",
        "mail.snapp.ir",
        "ticket.snapp.ir",
        "travel.snapp.ir",
        "market.snapp.ir",
        "club.snapp.ir",
        "business.snapp.ir",
        "corporate.snapp.ir",
        "hr.snapp.ir",
        "design.snapp.ir",
        "cdn.snapp.express",
        "enterpriseenrollment.snapp.express",
        "enterpriseregistration.snapp.express",
        "events.snapp.express",
        "panel.snapp.express",
        "pay.snapp.express",
        "static.snapp.express",
        "m.snapp.express",
        "mail.snapp.express",
        "backend.snapp.express",
        "www.snapp.express",
        "db.snapp.express",
        "academy.snapp.express",
        "api.snapp.express",
        "m1.snapp.express",
        "backoffice.snapp.express",
        "autodiscover.snapp.express",
        "www1.snapp.express",
        "cdn.snappfood.ir",
        "chat.snappfood.ir",
        "shop.snappfood.ir",
        "voip.snappfood.ir",
        "w.snappfood.ir",
        "core.snappfood.ir",
        "staging.snappfood.ir",
        "payment.snappfood.ir",
        "link.snappfood.ir",
        "www.snappfood.ir",
        "photo.snappfood.ir",
        "jira.snappfood.ir",
        "api.snappfood.ir",
        "m.snappfood.ir",
        "git.snappfood.ir",
        "mail.snappfood.ir",
        "mailer.snappfood.ir",
        "assets.snappfood.ir",
        "auth.snappfood.ir",
        "market.snappfood.ir",
        "marketing.snappfood.ir",
        "backend.snappfood.ir",
        "blog.snappfood.ir",
        "e.snappfood.ir",
        "monitoring.snappfood.ir",
        "backoffice.snappfood.ir",
        "email.snappfood.ir",
        "tracking.snappfood.ir",
        "new.snappfood.ir",
        "careers.snappfood.ir",
        "orion.snappfood.ir"
      ],
      "privateKey": "yFOnIHhCWfFawXi4DS6FtyMg02mLmwmstDNipHR9FnE",
      "minClient": "",
      "maxClient": "",
      "maxTimediff": 0,
      "shortIds": [
        "dc3984d3e29046",
        "e67fa4",
        "c52c",
        "0e",
        "1fbcfd61e5",
        "6e2641b6",
        "9eeba3a29ecba842",
        "e7f1166241ff"
      ],
      "settings": {
        "publicKey": "T_Q4XelvztUY67Y-0Us0b_RWvtJzRu-IPA9x8GsmwmA",
        "fingerprint": "chrome",
        "serverName": "",
        "spiderX": "/"
      }
    },
    "xhttpSettings": {
      "path": "/",
      "host": "",
      "headers": {},
      "scMaxBufferedPosts": 30,
      "scMaxEachPostBytes": "1000000",
      "scStreamUpServerSecs": "20-80",
      "noSSEHeader": false,
      "xPaddingBytes": "100-1000",
      "mode": "auto"
    }
  }

sniffing:
  {
    "enabled": false,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


protocol: vless
tag: inbound-2053
allocate:
  {
  "strategy": "always",
  "refresh": 5,
  "concurrency": 3
  }

settings:
  {
    "clients": [
      {
        "id": "9a915e97-df11-4a68-a326-23a705efd923",
        "flow": "",
        "email": "immmn4gp",
        "limitIp": 0,
        "totalGB": 0,
        "expiryTime": 0,
        "enable": true,
        "tgId": "",
        "subId": "1e11uluuy2s6oeoe",
        "comment": "",
        "reset": 0
      }
    ],
    "decryption": "none",
    "fallbacks": []
  }

stream_settings:
  {
    "network": "tcp",
    "security": "reality",
    "externalProxy": [],
    "realitySettings": {
      "show": false,
      "xver": 0,
      "dest": "digikala.com:443",
      "serverNames": [
        "about.digikala.com",
        " accounts.digikala.com",
        " adapi.digikala.com",
        " admin.digikala.com",
        " affiliate.digikala.com",
        " affstat.digikala.com",
        " analytics.digikala.com",
        " api.digikala.com",
        " app.digikala.com",
        " autodiscover.digikala.com",
        " av.digikala.com",
        " b2b.digikala.com",
        " careers.digikala.com",
        " chat.digikala.com",
        " cmsdk.digikala.com",
        " connectpush.digikala.com",
        " demo.digikala.com",
        " design.digikala.com",
        " digiclub.digikala.com",
        " dkstatics-private.digikala.com",
        " dkstatics-public.digikala.com",
        " dkstatics-public-2.digikala.com",
        " dsso.digikala.com",
        " explore.digikala.com",
        " finance.digikala.com",
        " git.digikala.com",
        " imap.digikala.com",
        " link.digikala.com",
        " mail.digikala.com",
        " mag.digikala.com",
        " mediastream.digikala.com",
        " mobile.digikala.com",
        " monitoring.digikala.com",
        " mx03.digikala.com",
        " openbox.digikala.com",
        " phoenix.digikala.com",
        " pop.digikala.com",
        " pr.digikala.com",
        " product.digikala.com",
        " report.digikala.com",
        " search.digikala.com",
        " seller.digikala.com",
        " selleracademy.digikala.com",
        " smtp.digikala.com",
        " sso.digikala.com",
        " static.digikala.com",
        " students.digikala.com",
        " supernova-ci-api.digikala.com",
        " supernova-ci-dk.digikala.com",
        " supernova-ci-finance.digikala.com",
        " supernova-ci-mobile.digikala.com",
        " supernova-ci-tickets.digikala.com",
        " supernova-dk.digikala.com",
        " supernova-finance.digikala.com",
        " supernova-mobile.digikala.com",
        " supernova-tickets.digikala.com",
        " tracker.digikala.com",
        " tracking.digikala.com",
        " ucmeeting.digikala.com",
        " upg.digikala.com",
        " webconf.digikala.com",
        " www.digikala.com"
      ],
      "privateKey": "sHkHFC82D8nMkcnBfmd8rOHyULyO2kKI6eZlk7d2VlA",
      "minClient": "",
      "maxClient": "",
      "maxTimediff": 0,
      "shortIds": [
        "844f163cdb117b",
        "8d",
        "80f4e38864",
        "682b",
        "e2aa0c",
        "7dcdeaad8111",
        "9daa720d8b9e7377",
        "55a97ef9"
      ],
      "settings": {
        "publicKey": "aiMwQDXC33qKxSUdU6V_DnAPQBuFziYwMiRF4dHwpmM",
        "fingerprint": "chrome",
        "serverName": "",
        "spiderX": "/"
      }
    },
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    }
  }

sniffing:
  {
    "enabled": false,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


protocol: vless
tag: inbound-8443
allocate:
  {
  "strategy": "always",
  "refresh": 5,
  "concurrency": 3
  }

settings:
  {
    "clients": [
      {
        "id": "24a6c150-c9d9-471b-b863-49cb9b5950c3",
        "flow": "",
        "email": "gwt4th8s",
        "limitIp": 0,
        "totalGB": 0,
        "expiryTime": 0,
        "enable": true,
        "tgId": "",
        "subId": "bvlsdk3cnuymwiq2",
        "comment": "",
        "reset": 0
      }
    ],
    "decryption": "none",
    "fallbacks": []
  }

stream_settings:
  {
    "network": "grpc",
    "security": "reality",
    "externalProxy": [],
    "realitySettings": {
      "show": false,
      "xver": 0,
      "dest": "varzesh3.com:443",
      "serverNames": [
        "video.varzesh3.com",
        " account.varzesh3.com",
        " vod.varzesh3.com",
        " speedtest.varzesh3.com",
        " ssl.varzesh3.com",
        " sso.varzesh3.com",
        " pay.varzesh3.com",
        " static.varzesh3.com",
        " ws.varzesh3.com",
        " api.varzesh3.com",
        " www.varzesh3.com"
      ],
      "privateKey": "iIbqij5STZ5dPnJ7Pyp3Fs6uA292OmCejSEyijwG_3c",
      "minClient": "",
      "maxClient": "",
      "maxTimediff": 0,
      "shortIds": [
        "98c5e442",
        "49a5916b1c25",
        "8a816e624b",
        "06ebdccb189be758",
        "3361",
        "51",
        "e0c664",
        "bc9d92b659e988"
      ],
      "settings": {
        "publicKey": "g6lqFbkiEy9evvfWK1XEDDy3M210Ks6TglfAyJ4ktHs",
        "fingerprint": "chrome",
        "serverName": "",
        "spiderX": "/"
      }
    },
    "grpcSettings": {
      "serviceName": "",
      "authority": "",
      "multiMode": false
    }
  }

sniffing:
  {
    "enabled": false,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


protocol: vless
tag: inbound-2087
allocate:
  {
  "strategy": "always",
  "refresh": 5,
  "concurrency": 3
  }

settings:
  {
    "clients": [
      {
        "id": "e2152627-ce9b-45b3-86f4-9d0c3bd2b641",
        "flow": "",
        "email": "mvy6no47",
        "limitIp": 0,
        "totalGB": 0,
        "expiryTime": 0,
        "enable": true,
        "tgId": "",
        "subId": "23ui4jon4kftb4u9",
        "comment": "",
        "reset": 0
      }
    ],
    "decryption": "none",
    "fallbacks": []
  }

stream_settings:
  {
    "network": "tcp",
    "security": "reality",
    "externalProxy": [],
    "realitySettings": {
      "show": false,
      "xver": 0,
      "dest": "Tapsi.ir:443",
      "serverNames": [
        "api.tapsi.ir",
        " app.tapsi.ir",
        " www.tapsi.ir",
        " secure.tapsi.ir",
        " mcp.tapsi.ir",
        " users.tapsi.ir",
        " dashboard.tapsi.ir",
        " careers.tapsi.ir",
        " sso.tapsi.ir",
        " mail.tapsi.ir",
        " ftp.tapsi.ir",
        " static.tapsi.ir",
        " assets.tapsi.ir",
        " cdn.tapsi.ir",
        " chat.tapsi.ir",
        " support.tapsi.ir",
        " blog.tapsi.ir",
        " news.tapsi.ir",
        " payment.tapsi.ir",
        " maps.tapsi.ir"
      ],
      "privateKey": "KE63svjwBfWM_I8vOiY1i8P3QqP266MM8_QyY45Lg1w",
      "minClient": "",
      "maxClient": "",
      "maxTimediff": 0,
      "shortIds": [
        "8f0c932c73e4502d",
        "7408dec0",
        "2f3a5f",
        "6905",
        "75a724d711",
        "30",
        "a1b60f7dad8a",
        "d76881fda743cd"
      ],
      "settings": {
        "publicKey": "gPAx5cOPbzoOU73HAqpCo6fVkMgY9SX_joQ5pI3EB2Y",
        "fingerprint": "chrome",
        "serverName": "",
        "spiderX": "/"
      }
    },
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    }
  }

sniffing:
[cell repeats an earlier one in this file: 143 characters]


