Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document path routing in config #463

Merged
merged 2 commits into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading