dai
dai
CDCloudflare Developers
Created by dai on 8/14/2024 in #workers-help
Worker fetch will not use the system proxy
Describe the solution When I run wrangler dev for local development, I have configured the environment variables as follows:
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890
However, I found that the program does not use the system proxy. I hope that worker fetch will use the specified HTTP proxy to make API requests. Because some content requires using http_proxy to access.
3 replies
CDCloudflare Developers
Created by dai on 6/21/2024 in #workers-help
Deployment suggestion
Due to certain reasons, I am unable to deploy the worker on Cloudflare. Therefore, I have to deploy it on my own server. Currently, I am using wrangler dev for deployment, but it reloads the code and supports only single-threaded execution. To better deploy on my own server, I need a more optimized solution. Could you please provide some suggestions? Thank you!
11 replies