mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
install: remove HSTS config from the default headers, Fixes #206
This commit is contained in:
parent
7327aa49ba
commit
5929751a07
@ -54,6 +54,9 @@ sudo -u git -H git clone -q -b v${GITLAB_VERSION} --depth 1 \
|
||||
|
||||
cd ${GITLAB_INSTALL_DIR}
|
||||
|
||||
# remove HSTS config from the default headers, we configure it in nginx
|
||||
sed "/headers\['Strict-Transport-Security'\]/d" -i app/controllers/application_controller.rb
|
||||
|
||||
# copy default configurations
|
||||
cp lib/support/nginx/gitlab /etc/nginx/sites-enabled/gitlab
|
||||
sudo -u git -H cp config/gitlab.yml.example config/gitlab.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user