Skip to content

Instantly share code, notes, and snippets.

@serverhorror
Created August 9, 2016 14:43
Show Gist options
  • Select an option

  • Save serverhorror/7cbfc35cd9bd48c9f1d4e986079cd36e to your computer and use it in GitHub Desktop.

Select an option

Save serverhorror/7cbfc35cd9bd48c9f1d4e986079cd36e to your computer and use it in GitHub Desktop.
loglevel= "DEBUG"
#defaultEntryPoints = ["http", "https"]
defaultEntryPoints = ["http"]
[web]
address = ":8181"
[entryPoints]
[entryPoints.http]
address = ":8080"
[file]
[frontends]
[frontends.RStudio]
backend = "RStudio"
[frontends.RStudio.routes.HostRStudio]
rule = "Host: rstudio"
[frontends.Shiny]
backend = "Shiny"
[frontends.Shiny.routes.HostShiny]
rule = "Host: shiny"
[backends]
[backends.Shiny]
[backends.Shiny.LoadBalancer]
method = "wrr"
[backends.Shiny.servers.local]
url = "http://localhost:80"
[backends.RStudio]
[backends.RStudio.LoadBalancer]
method = "wrr"
[backends.RStudio.servers.local]
url = "http://localhost:8787"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment