infra/stacks/platform/modules/xray/xray_config.json.tpl
Viktor Barzin e6420c7b36 [ci skip] Move Terraform modules into stack directories
Move all 88 service modules (66 individual + 22 platform) from
modules/kubernetes/<service>/ into their corresponding stack directories:

- Service stacks: stacks/<service>/module/
- Platform stack: stacks/platform/modules/<service>/

This collocates module source code with its Terragrunt definition.
Only shared utility modules remain in modules/kubernetes/:
ingress_factory, setup_tls_secret, dockerhub_secret, oauth-proxy.

All cross-references to shared modules updated to use correct
relative paths. Verified with terragrunt run --all -- plan:
0 adds, 0 destroys across all 68 stacks.
2026-02-22 14:38:14 +00:00

80 lines
1.6 KiB
Smarty

{
"log": {
"loglevel": "none"
},
"inbounds": [
{
"port": 7443,
"protocol": "vless",
"settings": {
"clients": ${clients},
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "www.cloudflare.com:443",
"xver": 0,
"serverNames": [
"www.cloudflare.com"
],
"privateKey": "${reality_private_key}",
"shortIds": ${reality_short_ids}
}
}
},
{
"port": 8443,
"protocol": "vless",
"settings": {
"clients": ${clients},
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"security": "none",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/xray/tls.crt",
"keyFile": "/etc/xray/tls.key"
}
]
},
"wsSettings": {
"path": "/ws"
}
}
},
{
"port": 9443,
"protocol": "vless",
"settings": {
"clients": ${clients},
"decryption": "none"
},
"streamSettings": {
"network": "xhttp",
"security": "none",
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/xray/tls.crt",
"keyFile": "/etc/xray/tls.key"
}
]
},
"xhttpSettings": {
"path": "/grpc-vpn"
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}