Skip to content

Commit 0cb197a

Browse files
Conditionalize the http_server for use in Cloud docs (#358)
Co-authored-by: Michele Cyran <michele@redpanda.com>
1 parent 62ac840 commit 0cb197a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/components/pages/inputs/http_server.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
component_type_dropdown::[]
1212

1313

14-
Receive messages POSTed over HTTP(S). HTTP 2.0 is supported when using TLS, which is enabled when key and cert files are specified.
14+
Receive messages sent over HTTP using POST requests. HTTP 2.0 is supported when using TLS, which is enabled when key and cert files are specified.
1515

1616

1717
[tabs]
@@ -36,7 +36,9 @@ include::components:example$advanced/inputs/http_server.yaml[]
3636
--
3737
======
3838

39-
If the `address` config field is left blank the xref:components:http/about.adoc[service-wide HTTP server] will be used.
39+
ifndef::env-cloud[]
40+
If the `address` config field is left blank, the xref:components:http/about.adoc[service-wide HTTP server] is used.
41+
endif::[]
4042

4143
The field `rate_limit` allows you to specify an optional xref:components:rate_limits/about.adoc[`rate_limit` resource], which will be applied to each HTTP request made and each websocket payload received.
4244

0 commit comments

Comments
 (0)