mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
replace values in nginx config
This commit is contained in:
parent
1a7cafc8ed
commit
4bc41ee487
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user