IPX not working on Netlify (500 error)
See original GitHub issueHello 👋,
I remarked that IPX provider wasn’t working when I was publishing on Netlify. I don’t have this problem when running the built app with nuxt preview
command
Error log :
cc @pi0
Issue Analytics
- State:
- Created a year ago
- Reactions:11
- Comments:8
Top Results From Across the Web
Netlify Next.js images throw IPX Error 500 - Support
Our next.js website hosted on netlify using @netlify/plugin-nextjs is facing issues with few images when deployed to production.
Read more >Netlify IPX Error (500) while loading static images
Then, I paid attention, that there are no static png/jpeg pictures, and networks show this error in response (status 500): IPX Error (500)....
Read more >IPX - Nuxt Image
Just add @nuxt/image to modules (instead of buildModules ) in nuxt.config . This will ensure that the /_ipx endpoint continues to work in...
Read more >Error at login & in logs for netlify plugin search
Internal Error : Got status code 500 from /api/netlify/me Maximum ... 3:54:11 PM: Report issues: Issues · algolia/algoliasearch-netlify · ...
Read more >@netlify/plugin-nextjs - npm
Start using @netlify/plugin-nextjs in your project by running `npm i @netlify/plugin-nextjs`. There is 1 other project in the npm registry ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same issue 😕
here is a temporary fix, add a reverse proxy block in NGINX.
location /_ipx/_/ { rewrite /_ipx/_/(.*) /$1 break; proxy_pass http://127.0.0.1:4002/$1; }
where in i am running the nuxt config in port 4002.
here is a complete config.
`server { listen 3999; listen [::]:3999; try_files $uri /index.html; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://127.0.0.1:4002; proxy_redirect off; }
location /ipx// { rewrite /ipx//(.*) /$1 break; proxy_pass http://127.0.0.1:4002/$1; }
}`