-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow CORS requests at random ports for defined origin hosts (SQPIT-9…
…22) (#2283) The QA runs tests against a HTTP proxy (HA proxy). This changes the origin in two ways: - The ports aren't default (i.e. 80 or 443) but something more random - The host part contains a different subdomain, e.g. custom.qa-fixed-sso.wire.link To enable this behaviour for testing but keep the rules strict in production, introduce the Helm value nginx_conf.randomport_allowlisted_origins. This list defines to which origins CORS requests at random ports are allowed. The default is: To none.
- Loading branch information
Showing
4 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Allow additional origins at random ports in nginz Helm chart. This is useful for | ||
testing with an HTTP proxy. It should not be used in production. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters