File tree Expand file tree Collapse file tree 1 file changed +27
-5
lines changed
lib/kamal/configuration/docs Expand file tree Collapse file tree 1 file changed +27
-5
lines changed Original file line number Diff line number Diff line change 1010# They are application-specific, so they are not shared when multiple applications
1111# run on the same proxy.
1212#
13- # The proxy is enabled by default on the primary role but can be disabled by
14- # setting `proxy: false`.
15- #
16- # It is disabled by default on all other roles but can be enabled by setting
17- # `proxy: true` or providing a proxy configuration.
1813proxy :
1914
2015 # Hosts
@@ -113,3 +108,30 @@ proxy:
113108 response_headers :
114109 - X-Request-ID
115110 - X-Request-Start
111+
112+ # Enabling/disabling the proxy on roles
113+ #
114+ # The proxy is enabled by default on the primary role but can be disabled by
115+ # setting `proxy: false` in the primary role's configuration.
116+ #
117+ # ```yaml
118+ # servers:
119+ # web:
120+ # hosts:
121+ # - ...
122+ # proxy: false
123+ # ```
124+ #
125+ # It is disabled by default on all other roles but can be enabled by setting
126+ # `proxy: true` or providing a proxy configuration for that role.
127+ #
128+ # ```yaml
129+ # servers:
130+ # web:
131+ # hosts:
132+ # - ...
133+ # web2:
134+ # hosts:
135+ # - ...
136+ # proxy: true
137+ # ```
You can’t perform that action at this time.
0 commit comments