Compare commits

...
Author SHA1 Message Date
CanbiZ (MickLesk) a73bd472cf Improve nginx patch fetching method
Updated the patch fetching method for nginx to prioritize the GitHub API to avoid 503 errors.
2026-11-20 16:48:41 +01:00
MickLesk 0fa31b30b6 Nginx Proxy Manager: fetch the nginx HTTP/2 patches from the GitHub API
github.com's commit .patch pages answer 503 under load, the empty patch
went unnoticed in the pipe and every install since 2026-11-19 stopped
with exit 7. The patches now come from api.github.com, with the commit
page as fallback, into a file before they are applied.
2026-11-20 16:46:42 +01:00
community-scripts-pr-app[bot]andgithub-actions[bot] 01e23a0c50 Update CHANGELOG.md (#18854)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-11-20 15:43:33 +00:00
3 changed files with 12 additions and 2 deletions

No files matched your search

+4
View File
@@ -592,6 +592,10 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
- Stalwart: migrate to v1 with stalwart-migrate [@MickLesk](https://github.com/MickLesk) ([#18794](https://github.com/community-scripts/ProxmoxVE/pull/18794))
### 💾 Core
- fix: vm - name why an image step failed and open one message for the disk import [@MickLesk](https://github.com/MickLesk) ([core#279](https://github.com/community-scripts/core/pull/279))
## 2026-11-19
### 🆕 New Scripts
+4 -1
View File
@@ -68,7 +68,10 @@ function update_script() {
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"
+4 -1
View File
@@ -42,7 +42,10 @@ fetch_and_deploy_from_url "https://openresty.org/download/openresty-${OPENRESTY_
msg_info "Patching nginx HTTP/2 (CVE-2026-123007, CVE-2026-123633)"
for commit in 61031503dc8087c2c17cd2142c9b4b19062f90c4 2df48a501d0fb8212b7d39dffeeff5876332ba59 e27f5fa84fe6e98505e70bc543b748747dad0a3b; do
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "-" | patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s
curl_with_retry "https://api.github.com/repos/nginx/nginx/commits/${commit}" "/tmp/nginx-${commit}.patch" "-HAccept:application/vnd.github.patch" ||
curl_with_retry "https://github.com/nginx/nginx/commit/${commit}.patch" "/tmp/nginx-${commit}.patch"
patch -d /opt/openresty/bundle/nginx-1.31.8 -p1 --forward -s <"/tmp/nginx-${commit}.patch"
rm -f "/tmp/nginx-${commit}.patch"
done
msg_ok "Patched nginx HTTP/2"