[PR #4398] [MERGED] Added IP_RANGES_FETCH_ENABLED environment variable #3876

Closed
opened 2026-02-26 08:32:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4398
Author: @cg-zhou
Created: 2/26/2025
Status: Merged
Merged: 6/30/2025
Merged by: @jc21

Base: developHead: feature/add-ip-ranges-env-var


📝 Commits (3)

  • 1c47fc2 feat: Add IP_RANGES_FETCH_ENABLED environment variable
  • a394b25 fix eslint error
  • 0792fc0 Remove unnecessary Promise.resolve() calls

📊 Changes

2 files changed (+20 additions, -1 deletions)

View changed files

📝 backend/index.js (+12 -1)
📝 docs/src/advanced-config/index.md (+8 -0)

📄 Description

fixes #4186
fixes #3965
fixes #3157
fixes #3602
This change adds a new environment variable to control whether IP ranges are fetched during application startup. When set to 'false', the initial fetch will be skipped, which can:

  1. Speed up application startup
  2. Avoid connectivity issues in environments with restricted internet access
  3. Prevent startup failures when CloudFront or CloudFlare services are unreachable

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NginxProxyManager/nginx-proxy-manager/pull/4398 **Author:** [@cg-zhou](https://github.com/cg-zhou) **Created:** 2/26/2025 **Status:** ✅ Merged **Merged:** 6/30/2025 **Merged by:** [@jc21](https://github.com/jc21) **Base:** `develop` ← **Head:** `feature/add-ip-ranges-env-var` --- ### 📝 Commits (3) - [`1c47fc2`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/1c47fc2ba4ab72cbaf7b3397038ed370a8891650) feat: Add IP_RANGES_FETCH_ENABLED environment variable - [`a394b25`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a394b25e61c997ead062783934cf99c7e5b71f6c) fix eslint error - [`0792fc0`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/0792fc07680aadc8416951616ff58079fb3fccbc) Remove unnecessary Promise.resolve() calls ### 📊 Changes **2 files changed** (+20 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/index.js` (+12 -1) 📝 `docs/src/advanced-config/index.md` (+8 -0) </details> ### 📄 Description fixes #4186 fixes #3965 fixes #3157 fixes #3602 This change adds a new environment variable to control whether IP ranges are fetched during application startup. When set to 'false', the initial fetch will be skipped, which can: 1. Speed up application startup 2. Avoid connectivity issues in environments with restricted internet access 3. Prevent startup failures when CloudFront or CloudFlare services are unreachable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 08:32:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#3876
No description provided.