]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: added some Civetweb configuration options
authorAntonOks <anton.oks@gmx.de>
Thu, 13 Sep 2018 10:20:53 +0000 (12:20 +0200)
committerAntonOks <anton.oks@gmx.de>
Thu, 13 Sep 2018 10:20:53 +0000 (12:20 +0200)
Signed-off-by: Anton Oks <anton.oks@gmx.de>
doc/install/install-ceph-gateway.rst
doc/radosgw/frontends.rst

index 9825380f14a30e5f93dd0eef6ea381e4d8b2d027..a36f4e6e1ff19483e884f3adbf610173a994ac81 100644 (file)
@@ -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 **Client RADOS Gateway** section of the ``/etc/ceph/ceph.conf`` file. 
+A list of supported options, including an example, can be found in the `RadosGW frontends site`_. 
 
 Migrating from Apache to Civetweb
 ---------------------------------
@@ -607,3 +612,4 @@ The output should be::
  my-new-bucket
 
 .. _Preflight:  ../../start/quick-start-preflight
+.. _RadosGW frontends site: ../../radosgw/frontends
index b0e3a5384b259a2b2d04e1b01565d63a307bb811..90b9d8c6b729e305661852e4cfebe946f1e4ea52 100644 (file)
@@ -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`_.