scottyzen / woonuxt

Static e-commerce powered by WooCommerce & Nuxt

Home Page:https://woonuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http2 error

vverloop opened this issue · comments

I get http2 error when using woonuxt (frontend) as www.example.com and wordpress as wp.example.com.
I have to load webpage twice before i see content. The website looks good then.

http2 error at wp.example.com/graphql

Somebody an idea to solve this?

Server info:
Directadmin
Nginx Only
NPM 10.8.2
Node 20.16

Is this correct?

location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}