Skip to content

Commit 2a19d20

Browse files
committed
docs: update doc for path_prefix
Signed-off-by: hackardoX <[email protected]>
1 parent 18f1bbb commit 2a19d20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/kamal/configuration/docs/proxy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ proxy:
9090
# For applications that split their traffic to different services based on the request path,
9191
# you can use path-based routing to mount services under different path prefixes.
9292
path_prefix: '/api'
93+
# ### Note: If using both a proxy with a path_prefix and a proxy without a path_prefix, for 2 different apps, the SSL options (e.g., ssl: true) should be set in the proxy for the app without a path_prefix, so the app above uses SSL by inheritance. Repeating the SSL settings here will cause the deploy to fail with a TLS error in the console.
9394
# By default, the path prefix will be stripped from the request before it is forwarded upstream.
9495
# So in the example above, a request to /api/users/123 will be forwarded to web-1 as /users/123.
9596
# To instead forward the request with the original path (including the prefix),

0 commit comments

Comments
 (0)