summaryrefslogtreecommitdiff
path: root/lib/support/nginx/gitlab-ssl
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-05-091-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-03-021-7/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-07-201-9/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-04-051-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-10-231-1/+1
|
* Correct Gitlab Capitalization in code filesMarcel Amirault2018-09-211-2/+2
|
* Export assigned issues in iCalendar feedImre Farkas2018-05-311-8/+8
|
* Add omnibus remarksMelroy van den Berg2018-01-261-0/+4
|
* Filter sensitive query string parameters from NGINX access logsNick Thomas2017-08-101-2/+37
|
* Merge branch '3kami3/gitlab-ce-real_ip'Rémy Coutable2017-03-201-0/+7
|\ | | | | | | | | | | See merge request !9623. Signed-off-by: Rémy Coutable <remy@rymai.me>
| * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9623#note_245736553kami32017-03-031-1/+2
| | | | | | | | Fixed issues pointed out.
| * Add real_ip setting to nginx example.3kami32017-03-011-0/+6
| | | | | | | | | | ref) https://docs.gitlab.com/omnibus/settings/nginx.html#configuring-gitlab-trusted_proxies-and-the-nginx-real_ip-module
* | Stop setting Strict-Transport-Securty header from within the appPaweł Chojnacki2017-03-031-0/+3
|/
* Upgrade NGINX configuration files to add websocket supportNick Thomas2016-12-121-0/+8
|
* Revert "Defend against 'Host' header injection"Jacob Vosmaer2016-08-081-6/+1
| | | | | | This reverts commit 47b5b441395921e9f8e9982bb3f560e5db5a67bc. See https://gitlab.com/gitlab-org/gitlab-ce/issues/17877#note_13488047
* Defend against 'Host' header injectionJacob Vosmaer2016-07-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | 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.
* Add a branded 503 static error pagers-503-pageRobert Speicher2016-04-221-1/+2
| | | | | | [ci skip] Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15398
* Do not serve anything via nginx as we have workhorseArtem Sidorenko2016-03-111-1/+9
| | | | | Otherwise this might 'hide' problems https://github.com/gitlabhq/gitlabhq/issues/10053#issuecomment-188919319
* Pass all requests from NGINX to gitlab-workhorseJacob Vosmaer2015-12-111-146/+1
|
* Fix gitlab-ssl nginx config to work when multiple server_names are served ↵Vyacheslav Stetskevych2015-12-061-1/+1
| | | | over https
* Fix indentation in NGINX confignginx-workhorse-upload-limitJacob Vosmaer2015-11-271-6/+6
|
* Repeat "client_max_body_size 0" everywhereJacob Vosmaer2015-11-271-0/+6
| | | | | It turns out that if we do not the declaration from "location /" wins.
* Merge branch 'client-max-body-size' into 'master' Robert Speicher2015-11-191-3/+1
|\ | | | | | | | | | | | | Do not limit workhorse POST/PUT size in NGINX Limiting, if any, should happen in gitlab-workhorse. See merge request !1831
| * Do not limit workhorse POST/PUT size in NGINXJacob Vosmaer2015-11-191-3/+1
| | | | | | | | Limiting, if any, should happen in gitlab-workhorse.
* | Deploy page should be shown for all pages not just rootDrew Blessing2015-11-181-1/+1
|/
* Add support for git lfs.lfsMarin Jankovski2015-11-161-1/+8
|
* Fix nginx config to use @gitlab-workhorseKamil Trzcinski2015-11-101-4/+4
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+16
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Switch to gitlab-workhorseJacob Vosmaer2015-10-291-11/+11
|
* Fix NGINX API download regexJacob Vosmaer2015-10-141-1/+1
| | | | Users are allowed to supply namespace%2Fproject instead of a numeric ID
* Let gitlab-git-http-server handle archive downloadsJacob Vosmaer2015-10-081-1/+19
| | | | This change relies on changes in gitlab_git and gitlab-git-http-server.
* The good stuff needs NGINX 1.7.11nginx-git-httpJacob Vosmaer2015-09-071-3/+5
|
* Do not let NGINX buffer Git HTTP requestsJacob Vosmaer2015-09-071-0/+7
| | | | | | | | | | | | 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).
* Replace grack with gitlab-git-http-serverJacob Vosmaer2015-08-311-23/+21
|
* Experimental support for gitlab-git-http-serverJacob Vosmaer2015-07-281-0/+25
| | | | | | | | | | | | | 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.
* Merge branch 'nginx_defaulthost_documentation' into 'master'Dmitriy Zaporozhets2015-06-221-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | Close #178 Nginx conf default_host documentation This closes #178 We're just making it clear that some nginx installs such as by default on recent Ubuntu's, the /etc/nginx/sites-enabled/default file will conflict the listen line of the gitlab nginx conf's due to the default_server directive. changed installation.md to identify the issue to a user added notes to both nginx configs for gitlab and gitlab-ssl [ci-skip See merge request !225
| * adding notes to gitlab nginx confLuke Ashe-Browne2014-12-031-0/+4
| | | | | | | | | | We want to make users aware that the nginx default config will conflict with the gitlab default_server conf file.
* | Update SSL ciphers per logjam vulnerability recommendations.update_ssl_ciphersMarin Jankovski2015-06-151-1/+1
| |
* | Add a note that changing example configuration files requires changing ↵note_about_omnibus_changesMarin Jankovski2015-06-111-1/+7
| | | | | | | | omnibus-gitlab.
* | Revert "Merge branch 'go-get-workaround-nginx' of ↵Douwe Maan2015-03-031-10/+0
| | | | | | | | | | | | | | https://github.com/mattes/gitlabhq into mattes-go-get-workaround-nginx" This reverts commit 51349ca3c83c56e072f87253d375316f7164b49a, reversing changes made to b180476bd69bdf99b1727b041116fa8447c0201f.
* | Merge branch 'go-get-workaround-nginx' of https://github.com/mattes/gitlabhq ↵Marin Jankovski2015-02-201-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | into mattes-go-get-workaround-nginx Conflicts: lib/support/nginx/gitlab lib/support/nginx/gitlab-ssl
| * | remove optional html tagsmattes2014-12-311-6/+1
| | |
| * | allow for private repositoriesmattes2014-12-311-0/+15
| |/
* | Restore nginx config a little more.Douwe Maan2015-02-201-0/+1
| |
* | Make changes to nginx config less likely to break something.Douwe Maan2015-02-201-18/+34
| |
* | Modify nginx config to let /uploads go through to unicorn.Douwe Maan2015-02-201-19/+24
| |
* | Socket [::]:123 on Linux listens on IPv4 and IPv6sbeh2014-11-261-2/+2
|/ | | | | | | | | | | | This will ensure nginx starts up without the following errors messages: nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) nginx: [emerg] bind() to [::]:443 failed (98: Address already in use) nginx: [emerg] still could not bind() Googling for them leads you to this site: https://chrisjean.com/2014/02/10/fix-nginx-emerg-bind-to-80-failed-98-address-already-in-use/
* Merge pull request #8273 from bbodenmiller/nginx-updatesMarin Jankovski2014-11-101-14/+10
|\ | | | | Nginx updates
| * minor updates & formatting changesBen Bodenmiller2014-11-081-14/+10
| | | | | | | | | | | | | | | | | | minor updates @ formatting changes to match other versions of file. Unify formatting of https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab, https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab-ssl, & https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
* | Don't enable IPv4 *only* on nginx.Hugo Osvaldo Barrera2014-11-031-2/+4
|/ | | | | | | | | 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.