nginx/1.18.0 (Ubuntu)
I want to use Server push technology.
nginx.conf
location = /push/ {
http2_push https://slabaya.ru/1/css/style.css;
}
html
<html>
<head>
<link rel="stylesheet" href="https://slabaya.ru/1/css/style.css">
</head>
<body>
<p>Test</p>
</body>
</html>
Result: not working.
https://c.radikal.ru/c21/2105/84/50598f04e294.png
https://d.radikal.ru/d32/2105/ba/7e5d2cf6e02a.png
As you can see from the images, neither Chrome nor Webpagetest signify that the css file is pushed.
Could you help me solve the problem?