Skip to content

Fix warning message in nginx

DJ Mountney requested to merge fix-nginx-warn into master

Followup to !4200 (merged)

Apparently text/html is included in the gzip options by default, so by specifiying it we get the following warning:

2020-05-20_18:44:47.46638 nginx: [warn] duplicate MIME type "text/html" in /var/opt/gitlab/nginx/conf/nginx.conf:32
2020-05-20_18:44:47.47247 nginx: [warn] duplicate MIME type "text/html" in /var/opt/gitlab/nginx/conf/gitlab-http.conf:108

Merge request reports