rails-nginx 1.0.0.pre.beta.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rails/nginx/configuration.rb +1 -0
- data/lib/rails/nginx/templates/nginx.conf.erb +3 -0
- data/lib/rails/nginx/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dcb5b9b1f17ae671f007beda661035f453bb36a967d5c5e529c054b49945aac
|
4
|
+
data.tar.gz: 45e41fabf4ec2fc5429a7a8bc4d32e1124777ae09d348721874d199f953d6777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e840088bdc98641619ccb8ef1cea780acc6423b973a24f711edb64ba582bb40a50fa1d5a58dd031545e347bf2ee5f4c959abaf4e26b03beef214a66872d1cb3
|
7
|
+
data.tar.gz: 30f21eff5c699c4f778befa837a7e09a09262b7bb0570bbe659756d50a59beae437b2d53a1b06cf6574700601290c321b8225d3129362743be64160314cfa030
|
@@ -33,6 +33,7 @@ module Rails
|
|
33
33
|
template_path: File.expand_path("templates/nginx.conf.erb", __dir__),
|
34
34
|
ssl: true,
|
35
35
|
log: true,
|
36
|
+
temp_path: Rails.root.join("tmp/nginx"),
|
36
37
|
ssl_certificate_path: Rails.root.join("tmp/nginx/_#{domain}.pem"),
|
37
38
|
ssl_certificate_key_path: Rails.root.join("tmp/nginx/_#{domain}-key.pem"),
|
38
39
|
access_log_path: Rails.root.join("log/nginx/#{domain}.access.log"),
|
@@ -53,6 +53,9 @@ server {
|
|
53
53
|
error_log <%= options[:error_log_path] %> warn;
|
54
54
|
<% end %>
|
55
55
|
|
56
|
+
# Do not use the default proxy_temp_path, this is to avoid directory permissions issues.
|
57
|
+
proxy_temp_path <%= options[:temp_path] %> 1 2;
|
58
|
+
|
56
59
|
# ect.
|
57
60
|
large_client_header_buffers 4 16k;
|
58
61
|
client_max_body_size 4G;
|
data/lib/rails/nginx/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bert McCutchen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: puma
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0.0
|
47
|
+
version: 1.0.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.0.0
|
54
|
+
version: 1.0.0
|
55
55
|
description: Automatically configure NGINX with SSL upon boot for Rails applications.
|
56
56
|
email:
|
57
57
|
- mail@bertm.dev
|