mirror of
https://github.com/ImranR98/selfhostingfromscratch.git
synced 2026-04-24 06:38:36 -04:00
Add FRP
This commit is contained in:
23
frpc.toml
Normal file
23
frpc.toml
Normal file
@@ -0,0 +1,23 @@
|
||||
serverAddr = "137.220.35.151"
|
||||
serverPort = 7000
|
||||
auth.additionalScopes = ["HeartBeats", "NewWorkConns"]
|
||||
auth.method = "token"
|
||||
auth.token = "mysupersecrettoken"
|
||||
|
||||
[[proxies]]
|
||||
name = "http"
|
||||
type = "tcp"
|
||||
localIP = "127.0.0.1"
|
||||
localPort = 80
|
||||
remotePort = 80
|
||||
transport.useEncryption = true
|
||||
transport.proxyProtocolVersion = "v2"
|
||||
|
||||
[[proxies]]
|
||||
name = "https"
|
||||
type = "tcp"
|
||||
localIP = "127.0.0.1"
|
||||
localPort = 443
|
||||
remotePort = 443
|
||||
transport.useEncryption = true
|
||||
transport.proxyProtocolVersion = "v2"
|
||||
Reference in New Issue
Block a user