From: AntonOks Date: Thu, 13 Sep 2018 10:20:53 +0000 (+0200) Subject: doc: added some Civetweb configuration options X-Git-Tag: v14.0.1~148^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=905281b713079a00cd0d46a85087bc5ac58d8f66;p=ceph.git doc: added some Civetweb configuration options Signed-off-by: Anton Oks --- diff --git a/doc/install/install-ceph-gateway.rst b/doc/install/install-ceph-gateway.rst index 9825380f14a..f3e0332bdc5 100644 --- a/doc/install/install-ceph-gateway.rst +++ b/doc/install/install-ceph-gateway.rst @@ -173,6 +173,11 @@ non-ssl connections are hosted by a single rgw instance. For eg:: [client.rgw.gateway-node1] rgw_frontends = civetweb port=80+443s ssl_certificate=/etc/ceph/private/keyandcert.pem +Additional Civetweb Configuration Options +----------------------------------------- +Some additional configuration options can be adjusted for the embedded Civetweb web server +in the **Ceph Object Gateway** section of the ``ceph.conf`` file. +A list of supported options, including an example, can be found in the `HTTP Frontends`_. Migrating from Apache to Civetweb --------------------------------- @@ -607,3 +612,4 @@ The output should be:: my-new-bucket .. _Preflight: ../../start/quick-start-preflight +.. _HTTP Frontends: ../../radosgw/frontends diff --git a/doc/radosgw/frontends.rst b/doc/radosgw/frontends.rst index b0e3a5384b2..90b9d8c6b72 100644 --- a/doc/radosgw/frontends.rst +++ b/doc/radosgw/frontends.rst @@ -109,6 +109,30 @@ Options :Type: String :Default: None +``access_log_file`` + +:Description: Path to a file for access logs. Either full path, or relative + to the current working directory. If absent (default), then + accesses are not logged. + +:Type: String +:Default: ``EMPTY`` + + +``error_log_file`` + +:Description: Path to a file for error logs. Either full path, or relative + to the current working directory. If absent (default), then + errors are not logged. + +:Type: String +:Default: ``EMPTY`` + + +The following is an example of the ``/etc/ceph/ceph.conf`` file with some of these options set: + + [client.rgw.gateway-node1] + rgw frontends = civetweb request_timeout_ms=30000 error_log_file=/var/log/radosgw/civetweb.error.log access_log_file=/var/log/radosgw/civetweb.access.log A complete list of supported options can be found in the `Civetweb User Manual`_.