HTTP Frontends
The Ceph Object Gateway supports two embedded HTTP frontend libraries
that can be configured with rgw_frontends. See Config Reference
for details about the syntax.
Beast
New in version Mimic.
The beast frontend uses the Boost.Beast library for HTTP parsing
and the Boost.Asio library for asynchronous network i/o.
Options
port and ssl_port
- Description:
Sets the ipv4 & ipv6 listening port number. Can be specified multiple times as in
port=80 port=8000.- Type:
Integer
- Default:
80
endpoint and ssl_endpoint
- Description:
Sets the listening address in the form
address[:port], where the address is an IPv4 address string in dotted decimal form, or an IPv6 address in hexadecimal notation surrounded by square brackets. Specifying a IPv6 endpoint would listen to v6 only. The optional port defaults to 80 forendpointand 443 forssl_endpoint. Can be specified multiple times as inendpoint=[::1] endpoint=192.168.0.100:8000.- Type:
Integer
- Default:
None
ssl_certificate
- Description:
Path to the SSL certificate file used for SSL-enabled endpoints. If path is prefixed with
config://, the certificate will be pulled from the ceph monitorconfig-keydatabase.- Type:
String
- Default:
None
ssl_private_key
- Description:
Optional path to the private key file used for SSL-enabled endpoints. If one is not given, the
ssl_certificatefile is used as the private key. If path is prefixed withconfig://, the certificate will be pulled from the ceph monitorconfig-keydatabase.- Type:
String
- Default:
None
ssl_options
- Description:
Optional colon separated list of ssl context options:
default_workaroundsImplement various bug workarounds.no_compressionDisable compression.no_sslv2Disable SSL v2.no_sslv3Disable SSL v3.no_tlsv1Disable TLS v1.no_tlsv1_1Disable TLS v1.1.no_tlsv1_2Disable TLS v1.2.single_dh_useAlways create a new key when using tmp_dh parameters.- Type:
String
- Default:
no_sslv2:no_sslv3:no_tlsv1:no_tlsv1_1
ssl_ciphers
- Description:
Optional list of one or more cipher strings separated by colons. The format of the string is described in openssl’s ciphers(1) manual.
- Type:
String
- Default:
None
tcp_nodelay
- Description:
If set the socket option will disable Nagle’s algorithm on the connection which means that packets will be sent as soon as possible instead of waiting for a full buffer or timeout to occur.
1Disable Nagel’s algorithm for all sockets.0Keep the default: Nagel’s algorithm enabled.- Type:
Integer (0 or 1)
- Default:
0
max_connection_backlog
- Description:
Optional value to define the maximum size for the queue of connections waiting to be accepted. If not configured, the value from
boost::asio::socket_base::max_connectionswill be used.- Type:
Integer
- Default:
None
request_timeout_ms
- Description:
The amount of time in milliseconds that Beast will wait for more incoming data or outgoing data before giving up. Setting this value to 0 will disable timeout.
- Type:
Integer
- Default:
65000
max_header_size
- Description:
The maximum number of header bytes available for a single request.
- Type:
Integer
- Default:
16384- Maximum:
65536
so_reuseport
- Description:
If set allows multiple RGW instances on a host to listen on the same TCP port.
1Enable running multiple RGW on same port.0Disallow running multiple RGW on same port.- Type:
Integer (0 or 1)
- Default:
0
Generic Options
Some frontend options are generic and supported by all frontends:
prefix
- Description:
A prefix string that is inserted into the URI of all requests. For example, a swift-only frontend could supply a uri prefix of
/swift.- Type:
String
- Default:
None
Brought to you by the Ceph Foundation
The Ceph Documentation is a community resource funded and hosted by the non-profit Ceph Foundation. If you would like to support this and our other efforts, please consider joining now.