1. 31 5月, 2018 1 次提交
  2. 26 1月, 2018 1 次提交
  3. 10 8月, 2017 1 次提交
  4. 03 3月, 2017 1 次提交
  5. 01 3月, 2017 1 次提交
  6. 12 12月, 2016 1 次提交
  7. 08 8月, 2016 1 次提交
  8. 13 7月, 2016 1 次提交
    • J
      Defend against 'Host' header injection · 47b5b441
      Jacob Vosmaer 提交于
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/17877 .
      
      This change adds 'defense in depth' against 'Host' HTTP header
      injection. It affects normal users in the following way. Suppose your
      GitLab server has IP address 1.2.3.4 and hostname gitlab.example.com.
      Currently, if you enter 1.2.3.4 in your browser, you get redirected to
      1.2.3.4/users/sign_in. After this change, you get redirected from
      1.2.3.4 to gitlab.example.com/users/sign_in. This is because the
      address you typed in the address bar of your browser ('1.2.3.4'),
      which gets stored in the 'Host' header, is now being overwritten to
      'gitlab.example.com' in NGINX.
      
      In this change we also make NGINX clear the 'X-Forwarded-Host' header
      because Ruby on Rails also uses that header the same wayas the 'Host'
      header.
      
      We think that for most GitLab servers this is the right behavior, and
      if not then administrators can change this behavior themselves at the
      NGINX level.
      47b5b441
  9. 23 4月, 2016 1 次提交
  10. 11 3月, 2016 1 次提交
  11. 11 12月, 2015 1 次提交
  12. 28 11月, 2015 1 次提交
  13. 27 11月, 2015 1 次提交
  14. 19 11月, 2015 1 次提交
  15. 18 11月, 2015 1 次提交
  16. 16 11月, 2015 1 次提交
  17. 10 11月, 2015 2 次提交
  18. 29 10月, 2015 1 次提交
  19. 14 10月, 2015 1 次提交
  20. 08 10月, 2015 1 次提交
  21. 07 9月, 2015 2 次提交
    • J
      The good stuff needs NGINX 1.7.11 · 783791fd
      Jacob Vosmaer 提交于
      783791fd
    • J
      Do not let NGINX buffer Git HTTP requests · 8d59b1ac
      Jacob Vosmaer 提交于
      Before this change NGINX would convert a chunked HTTP POST (e.g.
      git push) into a HTTP 1.0 single large POST. This creates an
      unnecessary delay, and it creates unnecessary memory pressure on
      gitlab-git-http-server.
      
      For the response ('proxy_buffering') I am less sure that NGINX 's
      buffering behavior is harmful, but it still makes more sense to me
      not to interfere with gitlab-git-http-server (and the Golang net/http
      server).
      8d59b1ac
  22. 31 8月, 2015 1 次提交
  23. 28 7月, 2015 1 次提交
    • J
      Experimental support for gitlab-git-http-server · d3305df7
      Jacob Vosmaer 提交于
      https://gitlab.com/gitlab-org/gitlab-git-http-server
      
      This change introduces the GITLAB_GRACK_AUTH_ONLY environment
      variable. When set, Grack requests to GitLab will only respond with
      the user's GL_ID (if the request is OK) or an error. This allows
      gitlab-git-http-server to use the main GitLab application as an
      authentication and authorization backend.
      
      If we like how this works we should drop the GITLAB_GRACK_AUTH_ONLY
      variable at some point in the future.
      d3305df7
  24. 11 6月, 2015 1 次提交
  25. 03 3月, 2015 1 次提交
  26. 21 2月, 2015 2 次提交
  27. 20 2月, 2015 1 次提交
  28. 01 1月, 2015 2 次提交
  29. 03 12月, 2014 2 次提交
  30. 09 11月, 2014 1 次提交
  31. 03 11月, 2014 1 次提交
    • H
      Don't enable IPv4 *only* on nginx. · e3098b69
      Hugo Osvaldo Barrera 提交于
      The current configuration sample files only enable IPv4 by default, making the
      server inaccesible for many remote hosts (and an increasing amount every day).
      
      Enable IPv4 and IPv6 by default. Older servers with no external IPv6
      connectivity will not fail since they'll have a local-link IPv6 address to bind
      to anyway.
      e3098b69
  32. 12 9月, 2014 1 次提交
  33. 23 8月, 2014 1 次提交
  34. 04 8月, 2014 1 次提交
  35. 03 6月, 2014 1 次提交