Testing of resolveOverride
Problem
resolveOverride
breaks locally (miniflare). It requires testing in live environments
The following discussion from !4 (merged) should be addressed:
-
@tkuah started a discussion: (+1 comment) However, resolveOverride will only take effect if both the URL host and the host specified by resolveOverride are within your zone. If either specifies a host from a different zone / domain, then the option will be ignored for security reasons. If you need to direct a request to a host outside your zone (while keeping the Host header pointing within your zone), first create a CNAME record within your zone pointing to the outside host, and then set resolveOverride to point at the CNAME record. Note that, for security reasons, it is not possible to set the Host header to specify a host outside of your zone unless the request is actually being sent to that host.
Testing this live is going to take a while.
I will need to setup:
-
Setup GitLabs (done at https://gitlab.charts.tkuahgitlab.net, and https://gitlab.tkuahgitlab.net) -
Zone https://developers.cloudflare.com/dns/zone-setups/ -
and https://ops.gitlab.net/gitlab-com/gl-infra/config-mgmt/-/tree/master/environments/cloudflare?ref_type=heads, and maybe https://developers.cloudflare.com/fundamentals/setup/manage-members/roles/
-
-
In parallel, debug the error so that we can finally get resolveOverride
to work locally.
Testing
Install method | Setup | Testing with USE_RESOLVE_OVERRIDE true
|
Testing with USE_RESOLVE_OVERRIDE false
|
---|---|---|---|
Chart | #2 (comment 1861629249) | ||
Omnibus | #2 (comment 1861443961) |