Upgrade Mastodon to 4.7.7
Bump the runtime Ruby to 4.0.10 (and the ruby-build definitions to v20261119, the first release that defines it), matching upstream's updated default Ruby for the 4.7.6 security release. Strip client-supplied Forwarded headers in the Mastodon nginx config, mirroring the upstream 4.7.5 hardening.
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -19,8 +19,8 @@ node.default["kosmos-mastodon"]["build"] = true
|
||||
|
||||
# Runtime versions
|
||||
node.default["kosmos-mastodon"]["nodejs_version"] = "24.22.1"
|
||||
node.default["kosmos-mastodon"]["ruby_version"] = "4.0.9"
|
||||
node.default["kosmos-mastodon"]["ruby_build_version"] = "v20261023"
|
||||
node.default["kosmos-mastodon"]["ruby_version"] = "4.0.10"
|
||||
node.default["kosmos-mastodon"]["ruby_build_version"] = "v20261119"
|
||||
|
||||
# SSH deploy key access to the (private) repository. The private key is stored
|
||||
# in the credentials/mastodon data bag as `repo_deploy_key`; this is the pinned
|
||||
|
||||
@@ -86,6 +86,7 @@ location /api/v1/streaming {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Forwarded "";
|
||||
proxy_set_header Proxy "";
|
||||
|
||||
proxy_pass http://mastodon_streaming;
|
||||
@@ -103,6 +104,7 @@ location @proxy {
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header Forwarded "";
|
||||
proxy_set_header Proxy "";
|
||||
proxy_pass_header Server;
|
||||
|
||||
|
||||
Reference in new issue
Block a user