new nitro devProxy not working
See original GitHub issueEnvironment
- 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
Issue Analytics
- State:
- Created 10 months ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Configuration - ️ Nitro - UnJS
We can use devHandlers but note that they are only available in development mode and not in production build. devProxy. Proxy configuration for...
Read more >How do I set proxy in Nuxt3? - vue.js - Stack Overflow
Then I try to follow this issue: text, do not use vite proxy. nuxt.config.js export default defineNuxtConfig({ nitro: { devProxy: { '/api/': ...
Read more >nitro 13 - does not work with proxy server
The login does not work when a user uses a proxy server to browse the internet. In the traffic it is observed that...
Read more >Nuxt3 broke Vite Proxy Server! - YouTube
... server running with Nuxt 3.Subscribe: https://www.youtube.com/channel/UCCIbWUeYUJjJmvE-QNungtQ?sub_confirmation=1For source code acc...
Read more >Nuxt 3 server proxy - StackBlitz
For detailed explanation on how things work,. checkout [Nuxt.js docs](https://nuxtjs.org). ## Special Directories. You can create the following extra.
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
Looks fine in your StackBlitz (except that nothing is running on 3001)
No, I meant that the
/proxy/test
route works fine proxying to 3001.For
/proxy/example
, please try another URL, e.g.:This works as expected