Commit 98afd74f authored by Amy Qualls's avatar Amy Qualls

Merge branch 'sarahwaldner-master-patch-00107' into 'master'

Added deprecation warning to Opsgenie integration

See merge request gitlab-org/gitlab!46824
parents 7e607acd 98e389ed
......@@ -207,6 +207,13 @@ Examples of feature labels are `~wiki`, `~ldap`, `~api`, `~issues`, `~"merge req
Feature labels are all-lowercase.
### Facet labels
To track additional information or context about created issues, developers may
add _facet labels_. Facet labels are also sometimes used for issue prioritization
or for measurements (such as time to close). An example of a facet label is the
~customer label, which indicates customer interest.
### Department labels
The current department labels are:
......
......@@ -402,3 +402,4 @@ This basic GitOps example deploys NGINX:
- [Configuration repository](https://gitlab.com/gitlab-org/configure/examples/kubernetes-agent)
- [Manifest repository](https://gitlab.com/gitlab-org/configure/examples/gitops-project)
- [Install GitLab Runner](https://gitlab.com/gitlab-examples/install-runner-via-k8s-agent)
......@@ -16,14 +16,14 @@ module Gitlab
super(app, backend: "#{@proxy_scheme}://#{@proxy_host}:#{@proxy_port}", **opts)
end
# disable SSL check since any cert used here will likely be self-signed
def rewrite_env(env)
env["rack.ssl_verify_none"] = true
env
end
def perform_request(env)
if @proxy_path && env['PATH_INFO'].start_with?("/#{@proxy_path}")
# disable SSL check since any cert used here will likely be self-signed
env['rack.ssl_verify_none'] = true
# ensure we pass the expected Host header so webpack-dev-server doesn't complain
env['HTTP_HOST'] = "#{@proxy_host}:#{@proxy_port}"
if relative_url_root = Rails.application.config.relative_url_root
env['SCRIPT_NAME'] = ""
env['REQUEST_PATH'].sub!(/\A#{Regexp.escape(relative_url_root)}/, '')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment