Description of configuration options for [DEFAULT] in proxy-server.conf-sample
Configuration option = Default value Description
bind_ip = 0.0.0.0IP Address for server to bind to
bind_port = 80Port for server to bind to
bind_timeout = 30Seconds to attempt bind before giving up
backlog = 4096Maximum number of allowed pending TCP connections
swift_dir = /etc/swiftSwift configuration directory
user = swiftUser to run as
workers = autoa much higher value, one can reduce the impact of slow file system operations in one request from negatively impacting other requests.
max_clients = 1024Maximum number of clients one worker can process simultaneously Lowering the number of clients handled per worker, and raising the number of workers can lessen the impact that a CPU intensive, or blocking, request can have on other requests served by the same worker. If the maximum number of clients is set to one, then a given worker will not perform another call while processing, allowing other workers a chance to process it.
cert_file = /etc/swift/proxy.crtto the ssl .crt. This should be enabled for testing purposes only.
key_file = /etc/swift/proxy.keyto the ssl .key. This should be enabled for testing purposes only.
expiring_objects_container_divisor = 86400No help text available for this option
log_name = swiftLabel used when logging
log_facility = LOG_LOCAL0Syslog log facility
log_level = INFOLogging level
log_headers = falseNo help text available for this option
log_address = /dev/logLocation where syslog sends the logs to
trans_id_suffix = No help text available for this option
log_custom_handlers = Comma-separated list of functions to call to setup custom log handlers.
log_udp_host = If not set, the UDB receiver for syslog is disabled.
log_udp_port = 514Port value for UDB receiver, if enabled.
log_statsd_host = localhostIf not set, the StatsD feature is disabled.
log_statsd_port = 8125Port value for the StatsD server.
log_statsd_default_sample_rate = 1.0Defines the probability of sending a sample for any given event or timing measurement.
log_statsd_sample_rate_factor = 1.0Not recommended to set this to a value less than 1.0, if frequency of logging is too high, tune the log_statsd_default_sample_rate instead.
log_statsd_metric_prefix = Value will be prepended to every metric sent to the StatsD server.
cors_allow_origin = is a list of hosts that are included with any CORS request by default and returned with the Access-Control-Allow-Origin header in addition to what the container has set. to call to setup custom log handlers. for eventlet the proxy server. For most cases, this should be `egg:swift#proxy`. request whenever it has to failover to a handoff node
client_timeout = 60Timeout to read one chunk from a client external services
eventlet_debug = falseIf true, turn on debug logging for eventlet