We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703fae4 commit 4700159Copy full SHA for 4700159
src/index.js
@@ -105,7 +105,7 @@ async function handleRequest(request) {
105
const newReq = new Request(newUrl, {
106
method: request.method,
107
headers: request.headers,
108
- redirect: "follow",
+ redirect: "manual",
109
});
110
const resp = await fetch(newReq);
111
if (resp.status == 401) {
wrangler.toml
@@ -12,6 +12,7 @@ CUSTOM_DOMAIN = "libcuda.so"
12
[env.dev.vars]
13
MODE = "debug"
14
TARGET_UPSTREAM = "https://registry-1.docker.io"
15
+CUSTOM_DOMAIN = "exmaple.com"
16
17
[env.production]
18
name = "cloudflare-docker-proxy"
0 commit comments