scottyzen / woonuxt

Static e-commerce powered by WooCommerce & Nuxt
https://woonuxt.com
GNU General Public License v3.0
629 stars 167 forks source link

http2 error #236

Open vverloop opened 3 weeks ago

vverloop commented 3 weeks ago

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

vverloop commented 3 weeks ago

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; }