subspace 2.4.0 → 2.4.1
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/CHANGELOG.md +11 -0
- data/README.md +10 -0
- data/ansible/roles/common/templates/motd +1 -1
- data/ansible/roles/nginx-rails/defaults/main.yml +2 -0
- data/ansible/roles/nginx-rails/templates/_rails.conf +2 -1
- data/lib/subspace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 453532a828c7f913ca85866e4e117daef85e0b21dd86092e734abb99ddcaad3a
|
|
4
|
+
data.tar.gz: e375411d365d7c7decaec797d648766187d2e54512d4226929ebd279686464ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74b2ba76f056e920cb53e88ebb1b5a8eb3c2e3830158bca9cda71661417b3506a99c27ff4d7d52ebf770f9a22102b86ed712cf1065753fb9d10d855a4c209882
|
|
7
|
+
data.tar.gz: a11f6ecb4634140f1175415ea3c78160bad5a2e21691b7e889359d23b8099fe49643bbda0901af6a92f7dff182590562c5a7a9b64dfa9accddeef375db068d87
|
data/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,17 @@ This project attempts to follow [semantic versioning](https://semver.org/)
|
|
|
10
10
|
* Not working on OSX - macs don't read from /etc/profile.d/
|
|
11
11
|
* Stops showing color if you `sudo su`
|
|
12
12
|
|
|
13
|
+
## 2.4.1
|
|
14
|
+
* Allow extra nginx options via extra_nginx_config eg:
|
|
15
|
+
```
|
|
16
|
+
extra_nginx_config: |
|
|
17
|
+
proxy_http_version 1.1;
|
|
18
|
+
chunked_transfer_encoding off;
|
|
19
|
+
proxy_buffering off;
|
|
20
|
+
proxy_cache off;
|
|
21
|
+
```
|
|
22
|
+
* Add keepalive_timeout for nginx
|
|
23
|
+
|
|
13
24
|
## 2.4
|
|
14
25
|
Lots of modifications for ubuntu 20.04, which has python3 as a default
|
|
15
26
|
|
data/README.md
CHANGED
|
@@ -291,6 +291,10 @@ Configures nginx to look at localhost:9292 for the socket/backend connection. I
|
|
|
291
291
|
defaults are here, we'll probably add more:
|
|
292
292
|
|
|
293
293
|
client_max_body_size: 4G
|
|
294
|
+
ssl_force_redirect: true
|
|
295
|
+
default_server: true
|
|
296
|
+
keepalive_timeout: 10
|
|
297
|
+
extra_nginx_config: ""
|
|
294
298
|
|
|
295
299
|
Optional variables:
|
|
296
300
|
|
|
@@ -300,6 +304,12 @@ Optional variables:
|
|
|
300
304
|
nginx_proxy_read_timeout: Set [proxy_read_timeout](https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout). This is in seconds. You probably only want to change this if using rack-timeout (although I may be wrong). If using rack-timeout, it should be slightly higher than the rack-timeout timeout. I'm doing 5 seconds higher, but that was arbitrarily chosen.
|
|
301
305
|
|
|
302
306
|
ssl_force_redirect: redirect all HTTP traffic to HTTPS on the same host. Defaults to true and only applies if ssl_enabled is also true.
|
|
307
|
+
extra_nginx_config: anything else you want to configure in the main nginx config block, formatted like:
|
|
308
|
+
extra_nginx_config: |
|
|
309
|
+
proxy_http_version 1.1;
|
|
310
|
+
chunked_transfer_encoding off;
|
|
311
|
+
proxy_buffering off;
|
|
312
|
+
proxy_cache off;
|
|
303
313
|
|
|
304
314
|
## nodejs
|
|
305
315
|
|
|
@@ -4,7 +4,7 @@ This server brought to you by:
|
|
|
4
4
|
\___ \| | | | '_ \___ \| '_ \ / _` |/ __/ _ \
|
|
5
5
|
___) | |_| | |_) |__) | |_) | (_| | (_| __/
|
|
6
6
|
|____/ \__,_|_.__/____/| .__/ \__,_|\___\___|
|
|
7
|
-
|_| v2.4.
|
|
7
|
+
|_| v2.4.1
|
|
8
8
|
~~~ https://github.com/tenforwardconsulting/subspace ~~~
|
|
9
9
|
|
|
10
10
|
If you need to make configuration changes to the server, please modify the
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
{% if nginx_proxy_read_timeout is defined %}
|
|
16
16
|
proxy_read_timeout {{nginx_proxy_read_timeout}};
|
|
17
17
|
{% endif %}
|
|
18
|
+
{{ extra_nginx_config | indent( width=4 ) }}
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
{% if asset_cors_allow_origin is defined %}
|
|
@@ -29,5 +30,5 @@
|
|
|
29
30
|
root /opt/subspace;
|
|
30
31
|
}
|
|
31
32
|
client_max_body_size {{client_max_body_size}};
|
|
32
|
-
keepalive_timeout
|
|
33
|
+
keepalive_timeout {{keepalive_timeout}};
|
|
33
34
|
|
data/lib/subspace/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: subspace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Samson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -306,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
306
306
|
- !ruby/object:Gem::Version
|
|
307
307
|
version: '0'
|
|
308
308
|
requirements: []
|
|
309
|
-
rubygems_version: 3.
|
|
309
|
+
rubygems_version: 3.0.3
|
|
310
310
|
signing_key:
|
|
311
311
|
specification_version: 4
|
|
312
312
|
summary: Ansible-based server provisioning for rails projects
|