Skip to content

Commit

Permalink
Document path routing in config (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb authored Oct 18, 2023
1 parent 1346aa4 commit 3570e2d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sample-config/plane-config/drone.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ connection = { socket = "/var/run/docker.sock" }
# IP to listen for connections on.
bind_ip = "0.0.0.0"
http_port = 8080

# Enable path-based routing, where the proxy detects the backend name
# from the path instead of the hostname. This is useful when running
# locally for development, because you don't have to set up a DNS
# server.
#
# To access the backend abc123, instead of the usual url
# http://abc123.plane.test/some-path/, use the URL
# http://localhost:8080/_plane_backend=abc123/some-path/.
allow_path_routing = true

# [cert]
Expand Down

0 comments on commit 3570e2d

Please sign in to comment.