Skip to content

Commit 2e1fc33

Browse files
authored
Merge branch 'master' into upgrade-to-14.8.4
2 parents b8c49be + 531c388 commit 2e1fc33

File tree

7 files changed

+15
-3
lines changed

7 files changed

+15
-3
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ This file only reflects the changes that are made in this image. Please refer to
66
- gitlab: upgrade CE to v14.8.4
77
- gitaly: upgrade to v14.8.4
88

9+
**14.8.3**
10+
- gitlab: upgrade CE to v14.8.3
11+
- gitaly: upgrade to v14.8.3
12+
- golang: upgrade to v1.17.8
13+
- ubuntu: upgrade to focal-20220316
14+
915
**14.8.2**
1016
- gitlab: upgrade CE to v14.8.2
1117
- gitaly: upgrade to v14.8.2

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM ubuntu:focal-20220113
1+
FROM ubuntu:focal-20220316
22

33
ARG VERSION=14.8.4
44

55
ENV GITLAB_VERSION=${VERSION} \
66
RUBY_VERSION=2.7.5 \
77
RUBY_SOURCE_SHA256SUM="2755b900a21235b443bb16dadd9032f784d4a88f143d852bc5d154f22b8781f1" \
8-
GOLANG_VERSION=1.17.7 \
8+
GOLANG_VERSION=1.17.8 \
99
GITLAB_SHELL_VERSION=13.23.2 \
1010
GITLAB_PAGES_VERSION=1.54.0 \
1111
GITALY_SERVER_VERSION=14.8.4 \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,7 @@ Below is the complete list of available options that can be used to customize yo
10011001
| `NGINX_X_FORWARDED_PROTO` | Advanced configuration option for the `proxy_set_header X-Forwarded-Proto` setting in the gitlab nginx vHost configuration. Defaults to `https` when `GITLAB_HTTPS` is `true`, else defaults to `$scheme`. |
10021002
| `NGINX_REAL_IP_RECURSIVE` | set to `on` if docker container runs behind a reverse proxy,you may not want the IP address of the proxy to show up as the client address. `off` by default. |
10031003
| `NGINX_REAL_IP_TRUSTED_ADDRESSES` | You can have NGINX look for a different address to use by adding your reverse proxy to the `NGINX_REAL_IP_TRUSTED_ADDRESSES`. Currently only a single entry is permitted. No defaults. |
1004+
| `NGINX_CUSTOM_GITLAB_SERVER_CONFIG` | Advanced configuration option. You can add custom configuration for nginx as you like (e.g. custom location proxy). This is similar to setting `nginx['custom_gitlab_server_config']` to `gitlab.rb` for gitlab-omnibus. No defaults. |
10041005
| `REDIS_HOST` | The hostname of the redis server. Defaults to `localhost` |
10051006
| `REDIS_PORT` | The connection port of the redis server. Defaults to `6379`. |
10061007
| `REDIS_DB_NUMBER` | The redis database number. Defaults to '0'. |

assets/runtime/config/nginx/gitlab

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ server {
9494
internal;
9595
}
9696

97+
{{NGINX_CUSTOM_GITLAB_SERVER_CONFIG}}
9798
}

assets/runtime/config/nginx/gitlab-ssl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,6 @@ server {
139139
root {{GITLAB_INSTALL_DIR}}/public;
140140
internal;
141141
}
142+
143+
{{NGINX_CUSTOM_GITLAB_SERVER_CONFIG}}
142144
}

assets/runtime/env-defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ case ${GITLAB_HTTPS} in
312312
true) NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:-https} ;;
313313
*) NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:-\$scheme} ;;
314314
esac
315+
NGINX_CUSTOM_GITLAB_SERVER_CONFIG=${NGINX_CUSTOM_GITLAB_SERVER_CONFIG:-}
315316

316317
## MAIL DELIVERY
317318
SMTP_DOMAIN=${SMTP_DOMAIN:-www.gmail.com}

assets/runtime/functions

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,8 @@ nginx_configure_gitlab() {
13291329
GITLAB_PORT \
13301330
NGINX_PROXY_BUFFERING \
13311331
NGINX_ACCEL_BUFFERING \
1332-
NGINX_X_FORWARDED_PROTO
1332+
NGINX_X_FORWARDED_PROTO \
1333+
NGINX_CUSTOM_GITLAB_SERVER_CONFIG
13331334

13341335
nginx_configure_gitlab_ssl
13351336
nginx_configure_gitlab_hsts

0 commit comments

Comments
 (0)