Skip to content

Commit bcc5929

Browse files
Passed through Rails NGINX template to Ruby NGINX
1 parent acf9b9d commit bcc5929

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rails-nginx (1.0.0.pre.beta.3)
4+
rails-nginx (1.0.0.pre.beta.4)
55
puma
66
rails
77
ruby-nginx (>= 1.0.0.pre.beta.3)

lib/rails/nginx.rb

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def self.defaults(options)
4444
domain: domain,
4545
port: port,
4646
root_path: Rails.public_path,
47+
template_path: File.expand_path("nginx/nginx.conf.erb", __dir__),
4748
ssl: true,
4849
log: true,
4950
ssl_certificate_path: Rails.root.join("tmp/nginx/_#{domain}.pem"),

lib/rails/nginx/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module Rails
44
module Nginx
5-
VERSION = "1.0.0-beta.3"
5+
VERSION = "1.0.0-beta.4"
66
end
77
end

0 commit comments

Comments
 (0)