You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm deploying my Next.js application behind a firewall that requires all network requests to go through a proxy. Because of this, server-side requests made by next/image are failing.
I found an older solution from 2021 that suggest using the global-agent package, but it doesn't work in my case, also that package hasn't been maintained for three years.
Is there any solution to configure proxy settings for next/image?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hi,
I'm deploying my Next.js application behind a firewall that requires all network requests to go through a proxy. Because of this, server-side requests made by next/image are failing.
I found an older solution from 2021 that suggest using the global-agent package, but it doesn't work in my case, also that package hasn't been maintained for three years.
Is there any solution to configure proxy settings for next/image?
Thanks!
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions