Nuxt3 RC-12 version, production deployment, using Nginx reverse proxy, becomes very slow
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v16.15.1
- Nuxt Version:
3.0.0-rc.12
- Nitro Version:
0.5.4
- Package Manager:
pnpm@7.14.0
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
- Nginx version:
1.18.0
Reproduction
none
Describe the bug
Developing with RC12, deploying to production, and using the Nginx reverse proxy, the access speed becomes extremely slow (HTML takes about 5 seconds to respond, but static JS file access speed is normal) , if access directly through the port, the speed is normal. After I dropped the NUXT version to RC11, didn’t have this problem
使用rc12版本进行开发,部署到生产环境,使用Nginx反向代理,访问速度变得特别慢(html需要5秒左右才能有响应,但是静态js文件访问速度是正常的),如果直接通过端口进行访问,则速度正常。我把nuxt版本降到rc11之后,就没有这个问题。
Additional context
none
Logs
none
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Nuxt rc12 + Nginx - page keeps loading indefinitely #8503
I believe that it has something to do with the "Early Hints" feature. In nginx logs I can see that nuxt server replied...
Read more >nuxt3 and vuetify3 Slow page response - nginx - Stack Overflow
I have created a front development environment using docker compose. The configuration is nginx + nuxt3 + vuetify3.
Read more >NGINX - Nuxt
Using nginx with generated pages and a caching proxy as fallback: If you have a high volume website with regularly changing content, you...
Read more >Nuxt3 生产环境部署Nginx反代加载html以及图片很慢需要10多 ...
Nuxt3 RC-12 version, production deployment, using Nginx reverse proxy, becomes very slow · Issue #8595 · nuxt/framework · GitHub.
Read more >Host Nuxt.js, .Net Core, and Postgres with Docker, Nginx, and ...
Update — 10/31/2021, getting the ssl certs and running the proxy is ... to show you how to deploy and host an actual...
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
@zenonux This can be done by adding the following configuration #8575
You can use this configuration to solve this problem because NGINX does not support a 103 status code, but this feature is enabled by default in RC12 @jilv220