Ethernal
Ethernal
CDCloudflare Developers
Created by Ethernal on 7/23/2023 in #pages-help
How do I avoid rewritten URLS only accepting GET requests
Works as intended now, appreciate the swift response
7 replies
CDCloudflare Developers
Created by Ethernal on 7/23/2023 in #pages-help
How do I avoid rewritten URLS only accepting GET requests
Oh ok, thank you
7 replies
CDCloudflare Developers
Created by Ethernal on 7/23/2023 in #pages-help
How do I avoid rewritten URLS only accepting GET requests
No worries, Also how do I access the new prerelease? The only prereleases available for testing that I can find are from yesterday
7 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
so setup my API on api.domain and then proxy /api -> api.domain
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Kind of works, but now im getting a 1003, Direct IP access not allowed.
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Got it, removed the @1 and reverted to next build. redeploying now
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Oh, ok, so im extra dumb, lol. So remove the @1 from the from the build command?
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Ah- I had missed that part in the documentation, My build command is still next build FacePalm
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
I followed in installation guide on the PR, and my package.json reports
"@cloudflare/next-on-pages": "https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/5632432242/npm-package-next-on-pages-394",
"@cloudflare/next-on-pages": "https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/5632432242/npm-package-next-on-pages-394",
and then I pushed it to git and cloudflare redeployed the site
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Hm, it's still redirecting me
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Ok, I'll go ahead and try that. thank you!
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Oh, alright. thank you
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
When going to <page>.pages.dev/api/:path it redirects me to the actual IP address instead of staying on <page>.pages.dev/api/:path, and im trying to avoid that
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
Yes
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
only thing I can really think of at the moment is to setup an api.domain/* instead of domain/api/*
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
And didn't work as in it has the same issues as the Page redirect, which is exposing the origin IP
28 replies
CDCloudflare Developers
Created by Ethernal on 7/22/2023 in #pages-help
Proxy URI path to external IP
I did try next.config.js rewrites, but they didn't work. thats why im trying to find an alternative
28 replies