Skip to content

Commit

Permalink
add proxy_uri options
Browse files Browse the repository at this point in the history
  • Loading branch information
kusatsugu committed Mar 18, 2013
1 parent 28feff3 commit cf82855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/fluent/plugin/out_s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def initialize
config_param :s3_endpoint, :string, :default => nil
config_param :s3_object_key_format, :string, :default => "%{path}%{time_slice}_%{index}.%{file_extension}"
config_param :auto_create_bucket, :bool, :default => true
config_param :proxy_uri, :string, :default => nil

attr_reader :bucket

Expand Down Expand Up @@ -71,6 +72,7 @@ def start
end
options[:s3_endpoint] = @s3_endpoint if @s3_endpoint
options[:use_ssl] = @use_ssl
options[:proxy_uri] = @proxy_uri

@s3 = AWS::S3.new(options)
@bucket = @s3.buckets[@s3_bucket]
Expand Down

0 comments on commit cf82855

Please sign in to comment.