Skip to content
Snippets Groups Projects

Selectively enable GZIP when HTTP referer matches external URL of GitLab host

Closed Stan Hu requested to merge sh-enable-gzip into master
@@ -257,7 +257,8 @@ describe 'nginx' do
it 'applies HTTP referer checks to gitlab-http' do
chef_run.converge('gitlab::default')
expect(chef_run).to render_file(http_conf['gitlab']).with_content { |content|
expect(content).to include("if ($http_referer ~* (^https://localhost(/.*)?$)") }
expect(content).to include("if ($http_referer ~* (^https://localhost(/.*)?$)")
}
end
it 'applies mattermost_nginx verify client settings to gitlab-mattermost-http' do
Loading