Add namespace_in_path parameter in GitLab.rb for GitLab Pages
Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/17584 Adds the 'namespace_in_path' parameter in gitlab.rb for GitLab Pages. This parameter is used to rewrite Pages URLs, allowing users to access Pages using the namespace in the path instead of the host. This modification will enable GitLab Pages to work without requiring a DNS wildcard. More context: https://gitlab.com/gitlab-org/gitlab/-/issues/211677#note_1646965167 Changelog: added
parent
7f928488e954
Showing
- files/gitlab-config-template/gitlab.rb.template 3 additions, 0 deletionsfiles/gitlab-config-template/gitlab.rb.template
- files/gitlab-cookbooks/gitlab-pages/attributes/default.rb 2 additions, 0 deletionsfiles/gitlab-cookbooks/gitlab-pages/attributes/default.rb
- files/gitlab-cookbooks/gitlab-pages/libraries/gitlab_pages.rb 16 additions, 0 deletions...s/gitlab-cookbooks/gitlab-pages/libraries/gitlab_pages.rb
- files/gitlab-cookbooks/gitlab-pages/templates/default/gitlab-pages-config.erb 3 additions, 0 deletions...ks/gitlab-pages/templates/default/gitlab-pages-config.erb
- files/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb 1 addition, 0 deletionsfiles/gitlab-cookbooks/gitlab/recipes/gitlab-rails.rb
- files/gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb 1 addition, 0 deletions.../gitlab-cookbooks/gitlab/templates/default/gitlab.yml.erb
- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-pages-http-common-location.erb 20 additions, 0 deletions...lates/default/nginx-gitlab-pages-http-common-location.erb
- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-pages-http-common-server.erb 61 additions, 0 deletions...mplates/default/nginx-gitlab-pages-http-common-server.erb
- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-pages-http.conf.erb 43 additions, 81 deletions...gitlab/templates/default/nginx-gitlab-pages-http.conf.erb
- spec/chef/cookbooks/gitlab-pages/recipes/gitlab-pages_spec.rb 2 additions, 0 deletions.../chef/cookbooks/gitlab-pages/recipes/gitlab-pages_spec.rb
- spec/chef/cookbooks/gitlab/recipes/gitlab-rails/gitlab_yml/pages_spec.rb 6 additions, 2 deletions...ooks/gitlab/recipes/gitlab-rails/gitlab_yml/pages_spec.rb
- spec/chef/cookbooks/gitlab/recipes/nginx_spec.rb 61 additions, 0 deletionsspec/chef/cookbooks/gitlab/recipes/nginx_spec.rb
Loading
Please register or sign in to comment