Answer the question
In order to leave comments, you need to log in
What proxy_http_version to set?
The documentation is very raw, but there is no experience.
I install an SSL certificate, and there will be such a config:
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
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;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question