Skip to content

xhuanya/docker-xray

Repository files navigation

Heroku

概述

配置

CERT

-----BEGIN PRIVATE KEY----- MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgBomR2GFt9tAxt4xV bADHdx111H6G5TBbmqaKEV9h2I6hRANCAAQXbA5l1AUtJ33bVuCs9l1U1YvzBL7z 1cGIx9PolP36zIC7TenRyJdsEglwINQkyrfmWBJuJwi4etX8Pcx0aRJ+ -----END PRIVATE KEY----- -----BEGIN CERTIFICATE----- MIIDHjCCAsSgAwIBAgIUQdO+6bP1hUry+utKr39V0v8oAiUwCgYIKoZIzj0EAwIw gY8xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T YW4gRnJhbmNpc2NvMRkwFwYDVQQKExBDbG91ZEZsYXJlLCBJbmMuMTgwNgYDVQQL Ey9DbG91ZEZsYXJlIE9yaWdpbiBTU0wgRUNDIENlcnRpZmljYXRlIEF1dGhvcml0 eTAeFw0yMjAxMDYwODU0MDBaFw0zNzAxMDIwODU0MDBaMGIxGTAXBgNVBAoTEENs b3VkRmxhcmUsIEluYy4xHTAbBgNVBAsTFENsb3VkRmxhcmUgT3JpZ2luIENBMSYw JAYDVQQDEx1DbG91ZEZsYXJlIE9yaWdpbiBDZXJ0aWZpY2F0ZTBZMBMGByqGSM49 AgEGCCqGSM49AwEHA0IABBdsDmXUBS0nfdtW4Kz2XVTVi/MEvvPVwYjH0+iU/frM gLtN6dHIl2wSCXAg1CTKt+ZYEm4nCLh61fw9zHRpEn6jggEoMIIBJDAOBgNVHQ8B Af8EBAMCBaAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMBMAwGA1UdEwEB /wQCMAAwHQYDVR0OBBYEFPNQv/NEuelFnYL5KpZKSKDz91XPMB8GA1UdIwQYMBaA FIUwXTsqcNTt1ZJnB/3rObQaDjinMEQGCCsGAQUFBwEBBDgwNjA0BggrBgEFBQcw AYYoaHR0cDovL29jc3AuY2xvdWRmbGFyZS5jb20vb3JpZ2luX2VjY19jYTAhBgNV HREEGjAYggsqLmh1YW4tMS5ncYIJaHVhbi0xLmdxMDwGA1UdHwQ1MDMwMaAvoC2G K2h0dHA6Ly9jcmwuY2xvdWRmbGFyZS5jb20vb3JpZ2luX2VjY19jYS5jcmwwCgYI KoZIzj0EAwIDSAAwRQIhAJcN2CTnArMDaved0/XQPpOmg8nOiK2GfYkNiUFH2AI7 AiBLKroeC1DVQY3wwFuMBr9c7ihyuiZGwpON6pYb9kwBfw== -----END CERTIFICATE----- -----BEGIN ARGO TUNNEL TOKEN----- eyJ6b25lSUQiOiIxNjVhZDU0ODgzMTJjNzEwNTI5NjBlMDc4YjUwZTBkZSIsImFj Y291bnRJRCI6IjE4ZWQzMTc3NzZhZWRhZjc3NTRlZWQwMmE4OWQ3Mjk0Iiwic2Vy dmljZUtleSI6InYxLjAtYzgwYzU2MjljMzYyYTU1YWZiMjg2Yjg2LTY1YzM3OTdi YzJiN2M1MDRlMTkwNTgwNjA1ZjQxNjNmMjE4ZDA2YmYyOTdiNDkyNzEwZjNhZDE3 NzRhOWQ1OTMxOGYyNjVkNDc5MjgxODA0NTA4NjlmODYwZTNmNjdlMjllODIyNzMz N2NjNmY3YmUwOWQzOGRkODBmZTM0OGFhZjhiMTBjODA5MGNiOTlmYzJlMmY4NGJj YmYxY2Q3IiwiYXBpVG9rZW4iOiIxUkNuSUdXUWhYWWhUWF9pb0hVSHFDOWV0RWFB c21WbDItd0RtMjhLIn0= -----END ARGO TUNNEL TOKEN-----

tunnelConfig

tunnel: be397372-ede2-4f6e-b746-afd64b690bbf credentials-file: /opt/credentials.json

ingress:

Example of a request over TCP:

  • hostname: kong2.huan-1.gq service: http://127.0.0.1:1506
  • hostname: test.example.com service: hello_world

Example of a rule responding to traffic with an HTTP status:

  • service: http_status:404

tunnelCredentials {"AccountTag":"18ed317776aedaf7754eed02a89d7294","TunnelSecret":"1JQaovogaCelVS+f98C2BMAaV3JlOH0IIsUpepFXgY8=","TunnelID":"be397372-ede2-4f6e-b746-afd64b690bbf","TunnelName":"herok1xray"}

tunnelId

be397372-ede2-4f6e-b746-afd64b690bbf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published