nuxt: new nitro devProxy not working
Environment
- Operating System:
Linux - Node Version:
v16.14.2 - Nuxt Version:
3.0.0-rc.13 - Nitro Version:
0.6.1 - Package Manager:
npm@7.17.0 - Builder:
vite - User Config:
modules,experimental,css,colorMode,nitro - Runtime Modules:
@vueuse/nuxt@9.4.0,@unocss/nuxt@0.46.3,@pinia/nuxt@0.4.3,@nuxtjs/color-mode@3.1.8 - Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-5pp8lm?file=nuxt.config.ts,package.json
Describe the bug
i’m always get 404 in proxy url

Additional context
No response
Logs
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (4 by maintainers)
Looks fine in your StackBlitz (except that nothing is running on 3001)
I don’t understand. I set it like this.
but , nitro devProxy not working
@manniL @onenameneo
No, I meant that the
/proxy/testroute works fine proxying to 3001.For
/proxy/example, please try another URL, e.g.:This works as expected
Yes, I see the 404. Please check my previous comment ☺️