Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http2 error #236

Open
vverloop opened this issue Aug 25, 2024 · 1 comment
Open

http2 error #236

vverloop opened this issue Aug 25, 2024 · 1 comment

Comments

@vverloop
Copy link

vverloop commented Aug 25, 2024

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant