Skip to content

Commit 0344f03

Browse files
cbeyer42cesmarvin
authored andcommitted
Merge branch 'release/v1.21.5-8'
2 parents 5c09cb2 + 469a67d commit 0344f03

6 files changed

Lines changed: 38 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v1.21.5-8] - 2022-12-13
11+
### Added
12+
- Update ces-confd to 0.8.0 (#63)
13+
- Add possibility to disable request buffer by setting registry key `config/nginx/buffering/<doguname>` to `off` (#63)
14+
1015
## [v1.21.5-7] - 2022-09-20
1116
### Changed
1217
- Update ces-confd to 0.7.0 #61
@@ -18,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1823

1924
## [v1.21.5-5] - 2022-05-25
2025
### Changed
21-
- Update warp-menu to v1.5.0
26+
- Update warp-menu to v1.5.0
2227

2328
## [v1.21.5-4] - 2022-04-06
2429
### Changed
@@ -104,7 +109,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
104109
- SHA256 checks for all manual downloads in the dockerfile
105110

106111
### Changed
107-
- Update of the base image to v3.11.6-3
112+
- Update of the base image to v3.11.6-3
108113
- Update warp-menu version to v1.0.4
109114

110115
## [v1.17.8-5] - 2020-07-20

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ RUN set -x -o errexit \
2626
FROM registry.cloudogu.com/official/base:3.15.3-1
2727
LABEL maintainer="hello@cloudogu.com" \
2828
NAME="official/nginx" \
29-
VERSION="1.21.5-7"
29+
VERSION="1.21.5-8"
3030

31-
ENV CES_CONFD_VERSION=0.7.0 \
32-
CES_CONFD_TAR_SHA256="21568a5293208e8d806382087640418fb593bffec52587bb6669efd2ae561d41" \
31+
ENV CES_CONFD_VERSION=0.8.0 \
32+
CES_CONFD_TAR_SHA256="365a4033e80af6953d5b6513296a828dfd772a6640533bb51dd9abd34a1e53e8" \
3333
WARP_MENU_VERSION=1.6.0 \
3434
WARP_MENU_TAR_SHA256="297c910ce2287e5322e3f447408e1ccfbc835874983dbab347b21892c74c8a5f" \
3535
CES_ABOUT_VERSION=0.2.2 \
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Request Buffering
2+
3+
Wenn das Buffering aktiviert ist, erhält nginx die Antwort auf eine Seitenabfrage so schnell wie möglich und speichert diese
4+
in den Buffer des Nginx-Dogus, um diese dann von dort aus Stück für Stück weiter zu geben. Das verbessert die Performance für
5+
Nutzer mit langsamen Internetverbindungen.
6+
Das Buffering kann für einzelne Dogus aktiviert/deaktiviert werden. Dafür muss ein Registry-key im folgenden Format gesetzt werden:
7+
```
8+
/config/nginx/buffering/<doguname> = on|off
9+
```
10+
Ist kein Wert gesetzt, ist das Buffering immer aktiviert.
11+
12+
Nachdem der Key in der Registry gesetzt wurde, muss nginx und das Dogu, für das der Key gesetzt wurde, neu gestartet werden.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Request Buffering
2+
3+
When buffering is enabled, nginx receives the response to a page request as fast as possible and stores it
4+
into the buffer of the nginx-dogus, to pass it on from there bit by bit. This improves performance for
5+
users with slow internet connections.
6+
Buffering can be enabled/disabled for individual dogus. To do this, a registry key must be set in the following format:
7+
```
8+
/config/nginx/buffering/<doguname> = on|off
9+
```
10+
If no value is set, buffering is always enabled.
11+
12+
After the key is set in the registry, nginx and the dogu for which the key was set must be restarted.

dogu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/nginx",
3-
"Version": "1.21.5-7",
3+
"Version": "1.21.5-8",
44
"DisplayName": "Nginx",
55
"Description": "Nginx WebServer.",
66
"Logo": "https://cloudogu.com/images/dogus/nginx.png",

resources/etc/ces-confd/templates/app.conf.tpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ server {
2222
# https://github.com/cloudogu/ecosystem/issues/298
2323
# https://stackoverflow.com/questions/28347184/upstream-timed-out-110-connection-timed-out-for-static-content
2424
proxy_http_version 1.1;
25-
25+
2626
# nginx.conf map handles connection_upgrade http_upgrade
2727
proxy_set_header Connection $connection_upgrade;
2828
proxy_set_header Upgrade $http_upgrade;
@@ -35,7 +35,7 @@ server {
3535
3636
include /etc/nginx/include.d/info.conf;
3737
include /etc/nginx/include.d/subfilters.conf;
38-
include /etc/nginx/include.d/default-dogu.conf;
38+
include /etc/nginx/include.d/default-dogu.conf;
3939
include /etc/nginx/include.d/customhtml.conf;
4040
4141
# services
@@ -45,6 +45,7 @@ server {
4545
{{ if .Rewrite }}
4646
rewrite ^/{{ .Rewrite.Pattern }}(/|$)(.*) {{ .Rewrite.Rewrite }}/$2 break;
4747
{{end}}
48+
{{ if eq .ProxyBuffering "off" }}proxy_buffering off;{{ end }}
4849
proxy_pass {{.URL}};
4950
{{else}}
5051
error_page 503 /errors/starting.html;

0 commit comments

Comments
 (0)