diff options
| -rw-r--r-- | lib/support/nginx/gitlab | 7 | ||||
| -rw-r--r-- | lib/support/nginx/gitlab-ssl | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index ab6ca6e6260..80827150bee 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -62,12 +62,7 @@ server { if ($http_user_agent ~* "Go") { return 200 " <!DOCTYPE html> - <html lang='en'> - <head> - <meta charset='utf-8'> - <meta content='$host$uri git $scheme://$host$uri.git' name='go-import'> - </head> - <body></body> + <head><meta content='$host$uri git $scheme://$host$uri.git' name='go-import'></head> </html>"; } diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl index 1903c9aa4fb..7fb4d568d21 100644 --- a/lib/support/nginx/gitlab-ssl +++ b/lib/support/nginx/gitlab-ssl @@ -107,12 +107,7 @@ server { if ($http_user_agent ~* "Go") { return 200 " <!DOCTYPE html> - <html lang='en'> - <head> - <meta charset='utf-8'> - <meta content='$host$uri git $scheme://$host$uri.git' name='go-import'> - </head> - <body></body> + <head><meta content='$host$uri git $scheme://$host$uri.git' name='go-import'></head> </html>"; } |
