From 4bc41ee487076e139eda5203ad4e8a5ae0f9671a Mon Sep 17 00:00:00 2001 From: Ulrich Schreiner Date: Sat, 28 Feb 2015 15:30:36 +0100 Subject: [PATCH] replace values in nginx config --- assets/init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/init b/assets/init index c469c4ef..0879f56e 100755 --- a/assets/init +++ b/assets/init @@ -629,6 +629,9 @@ fi sed 's/worker_processes .*/worker_processes '"${NGINX_WORKERS}"';/' -i /etc/nginx/nginx.conf sed 's/{{NGINX_MAX_UPLOAD_SIZE}}/'"${NGINX_MAX_UPLOAD_SIZE}"'/' -i /etc/nginx/sites-enabled/gitlab sed 's/{{NGINX_X_FORWARDED_PROTO}}/'"${NGINX_X_FORWARDED_PROTO}"'/' -i /etc/nginx/sites-enabled/gitlab +sed 's/{{NGINX_PROXY_BUFFERING}}/'"${NGINX_PROXY_BUFFERING}"'/' -i /etc/nginx/sites-enabled/gitlab +sed 's/{{NGINX_PROXY_MAX_TEMP_FILE_SIZE}}/'"${NGINX_PROXY_MAX_TEMP_FILE_SIZE}"'/' -i /etc/nginx/sites-enabled/gitlab +sed 's/{{NGINX_ACCEL_BUFFERING}}/'"${NGINX_ACCEL_BUFFERING}"'/' -i /etc/nginx/sites-enabled/gitlab if [ "${GITLAB_HTTPS_HSTS_ENABLED}" == "true" ]; then sed 's/{{GITLAB_HTTPS_HSTS_MAXAGE}}/'"${GITLAB_HTTPS_HSTS_MAXAGE}"'/' -i /etc/nginx/sites-enabled/gitlab