[PR #406] [MERGED] set proper timeout. #3241

Closed
opened 2026-02-26 07:38:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NginxProxyManager/nginx-proxy-manager/pull/406
Author: @theraw
Created: 5/10/2020
Status: Merged
Merged: 5/25/2020
Merged by: @jc21

Base: developHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 docker/rootfs/etc/nginx/nginx.conf (+5 -2)

📄 Description

it makes so nginx can handle connection client <- nginx -> backend for 90 secounds (90s i think is normal and most used timeout limit)

Example if you for backend have apache2 and your timeout is 300s and you try to install some script that take longer then 65s (current conf https://github.com/jc21/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/nginx.conf#L29) then nginx will close connection at 65s ignoring apache (backend) 300s timeout and will return 504 err.

server_names_hash_bucket_size 64; -> server_names_hash_bucket_size 1024; will increase support for long sub-domain names http://nginx.org/en/docs/http/server_names.html current 64 i think is low


🔄 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/406 **Author:** [@theraw](https://github.com/theraw) **Created:** 5/10/2020 **Status:** ✅ Merged **Merged:** 5/25/2020 **Merged by:** [@jc21](https://github.com/jc21) **Base:** `develop` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`affabf0`](https://github.com/NginxProxyManager/nginx-proxy-manager/commit/affabf065e05308e7b78bbc940613c0de6ca1920) set proper timeout. ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docker/rootfs/etc/nginx/nginx.conf` (+5 -2) </details> ### 📄 Description it makes so nginx can handle connection client <- nginx -> backend for 90 secounds (90s i think is normal and most used timeout limit) Example if you for backend have apache2 and your timeout is 300s and you try to install some script that take longer then 65s (current conf https://github.com/jc21/nginx-proxy-manager/blob/master/docker/rootfs/etc/nginx/nginx.conf#L29) then nginx will close connection at 65s ignoring apache (backend) 300s timeout and will return 504 err. `server_names_hash_bucket_size 64;` **->** `server_names_hash_bucket_size 1024;` will increase support for long sub-domain names http://nginx.org/en/docs/http/server_names.html current 64 i think is low --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 07:38:35 +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#3241
No description provided.