Skip to content

Commit f9d43f5

Browse files
author
Alan Christie
committed
refactor: Note about emerging complexity and tweak keeplainve timeout value
1 parent c20d333 commit f9d43f5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

nginx.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ http {
2727
sendfile on;
2828
tcp_nopush on;
2929
tcp_nodelay on;
30-
keepalive_timeout 650;
3130
types_hash_max_size 2048;
3231
# server_tokens off;
3332

@@ -51,7 +50,8 @@ http {
5150
access_log /var/log/nginx/access.log;
5251
error_log /var/log/nginx/error.log;
5352

54-
# Tuneout settings
53+
# Timeeout settings
54+
keepalive_timeout 1000s;
5555
proxy_connect_timeout 1000s;
5656
proxy_send_timeout 1000s;
5757
proxy_read_timeout 1000s;

proxy_params

+7
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@ proxy_set_header Host $http_host;
22
proxy_set_header X-Real-IP $remote_addr;
33
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
44
# proxy_set_header X-Forwarded-Proto $scheme;
5+
6+
# Parameters are also located in nginx.con, and dnago_nginx.xonf
7+
# In fact the whole ingress configuration fo the satck is now
8+
# potentially "too complicated" and needs to be simplified.
9+
#
10+
# Alan Christie
11+
# January 2024

0 commit comments

Comments
 (0)