Skip to content

Instantly share code, notes, and snippets.

@gilangvperdana
Last active May 11, 2023 17:12
Show Gist options
  • Save gilangvperdana/e358b86b7646066dc0a1ec110014ce17 to your computer and use it in GitHub Desktop.
Save gilangvperdana/e358b86b7646066dc0a1ec110014ce17 to your computer and use it in GitHub Desktop.
Example of Body Cloudflare Tunnel PUT Method
{
"config": {
"ingress": [
{
"service": "https://172.20.2.10",
"hostname": "api-gaboot.adaptivenetlab.site",
"originRequest": {
"http2Origin": true,
"noTLSVerify": true,
"httpHostHeader": "api-gaboot.adaptivenetlab.site",
"originServerName": "api-gaboot.adaptivenetlab.site"
}
},
{
"service": "https://172.20.2.10",
"hostname": "gaboot.adaptivenetlab.site",
"originRequest": {
"http2Origin": true,
"noTLSVerify": true,
"httpHostHeader": "gaboot.adaptivenetlab.site",
"originServerName": "gaboot.adaptivenetlab.site"
}
},
{
"service": "https://172.20.2.10",
"hostname": "registry.adaptivenetlab.site",
"originRequest": {
"http2Origin": true,
"noTLSVerify": true,
"httpHostHeader": "registry.adaptivenetlab.site",
"originServerName": "registry.adaptivenetlab.site"
}
},
{
"service": "https://172.20.2.10",
"hostname": "dash.adaptivenetlab.site",
"originRequest": {
"noTLSVerify": true,
"httpHostHeader": "dash.adaptivenetlab.site",
"originServerName": "dash.adaptivenetlab.site"
}
},
{
"service": "https://172.20.2.10",
"hostname": "api.adaptivenetlab.site",
"originRequest": {
"http2Origin": false,
"noTLSVerify": true,
"httpHostHeader": "api.adaptivenetlab.site",
"originServerName": "api.adaptivenetlab.site"
}
},
{
"service": "https://172.20.2.10",
"hostname": "argocd.adaptivenetlab.site",
"originRequest": {
"noTLSVerify": true,
"httpHostHeader": "argocd.adaptivenetlab.site",
"originServerName": "argocd.adaptivenetlab.site"
}
},
{
"service": "tcp://172.20.1.3:12232",
"hostname": "adminvpn.adaptivenetlab.site",
"originRequest": {}
},
{
"service": "https://172.20.2.10"
}
],
"warp-routing": {
"enabled": true
}
}
}
{"config":{"ingress":[{"service":"https://172.20.2.10","hostname":"api-gaboot.adaptivenetlab.site","originRequest":{"http2Origin":true,"noTLSVerify":true,"httpHostHeader":"api-gaboot.adaptivenetlab.site","originServerName":"api-gaboot.adaptivenetlab.site"}},{"service":"https://172.20.2.10","hostname":"gaboot.adaptivenetlab.site","originRequest":{"http2Origin":true,"noTLSVerify":true,"httpHostHeader":"gaboot.adaptivenetlab.site","originServerName":"gaboot.adaptivenetlab.site"}},{"service":"https://172.20.2.10","hostname":"registry.adaptivenetlab.site","originRequest":{"http2Origin":true,"noTLSVerify":true,"httpHostHeader":"registry.adaptivenetlab.site","originServerName":"registry.adaptivenetlab.site"}},{"service":"https://172.20.2.10","hostname":"dash.adaptivenetlab.site","originRequest":{"noTLSVerify":true,"httpHostHeader":"dash.adaptivenetlab.site","originServerName":"dash.adaptivenetlab.site"}},{"service":"https://172.20.2.10","hostname":"api.adaptivenetlab.site","originRequest":{"http2Origin":false,"noTLSVerify":true,"httpHostHeader":"api.adaptivenetlab.site","originServerName":"api.adaptivenetlab.site"}},{"service":"https://172.20.2.10","hostname":"argocd.adaptivenetlab.site","originRequest":{"noTLSVerify":true,"httpHostHeader":"argocd.adaptivenetlab.site","originServerName":"argocd.adaptivenetlab.site"}},{"service":"tcp://172.20.1.3:12232","hostname":"adminvpn.adaptivenetlab.site","originRequest":{}},{"service":"https://172.20.2.10"}],"warp-routing":{"enabled":true}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment