Skip to content

Commit 24b07ad

Browse files
Added client_body_temp_path to default NGINX template
1 parent 2291800 commit 24b07ad

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ruby-nginx (1.0.2)
4+
ruby-nginx (1.0.3)
55
erb
66
thor
77
tty-command (~> 0.10, >= 0.10.1)

lib/ruby/nginx/templates/nginx.conf.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ server {
5656

5757
# Do not use the default proxy_temp_path, this is to avoid directory permissions issues.
5858
proxy_temp_path <%= options[:temp_path] %> 1 2;
59+
client_body_temp_path <%= options[:temp_path] %> 1 2;
5960

6061
# reverse proxy
6162
location @<%= name %> {

lib/ruby/nginx/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module Ruby
44
module Nginx
5-
VERSION = "1.0.2"
5+
VERSION = "1.0.3"
66

77
Version = Gem::Version
88
end

0 commit comments

Comments
 (0)