Skip to content

Commit e93b77f

Browse files
authored
Merge pull request sameersbn#3123 from kkimurak/remove-HSTS-patch
Remove patch to remove HSTS setting from app/controller/application_controller.rb
2 parents b813983 + de75177 commit e93b77f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

assets/build/install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,6 @@ rm -rf ${GITLAB_GITALY_BUILD_DIR}
178178
go clean --modcache
179179
rm -rf ${GITLAB_BUILD_DIR}/go${GOLANG_VERSION}.linux-amd64.tar.gz ${GOROOT}
180180

181-
# remove HSTS config from the default headers, we configure it in nginx
182-
exec_as_git sed -i "/headers\['Strict-Transport-Security'\]/d" ${GITLAB_INSTALL_DIR}/app/controllers/application_controller.rb
183-
184181
# revert `rake gitlab:setup` changes from gitlabhq/gitlabhq@a54af831bae023770bf9b2633cc45ec0d5f5a66a
185182
exec_as_git sed -i 's/db:reset/db:setup/' ${GITLAB_INSTALL_DIR}/lib/tasks/gitlab/setup.rake
186183

0 commit comments

Comments
 (0)