Skip to content

avin/frp-caprover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FRP for CapRover

FRP app configuration for CapRover

Configure app

Add Environmental Variables

  • TOKEN = secretpassword (use same token in client.toml config)
  • SUBDOMAIN_HOST = frp.server.com (replace with your domain)

Add Port Mapping

Server Port : 37000 | Container Port : 7000

Add domains

8888.frp.server.com
static.frp.server.com

Client config

client.toml

serverAddr = "frp.server.com"
serverPort = 37000
auth.method = "token"
auth.token = "secretpassword"

# ---- https://8888.frp.server.com -> https://127.0.0.1:8888 ----

[[proxies]]
name = "web8888"
type = "http"
subdomain = "8888"
[proxies.plugin]
type = "http2https"
localAddr = "127.0.0.1:8888"

# ---- https://static.frp.server.com -> share file from C:\\www ----

[[proxies]]
name = "static"
type = "http"
subdomain = "static"
[proxies.plugin]
type = "static_file"
localPath = "C:\\www"
httpUser = "abc"
httpPassword = "abc"

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published