ghedo / http2-push-nginx-module

*DEPRECATED* NGINX now supports HTTP/2 server push out of the box http://hg.nginx.org/nginx/rev/641306096f5b
BSD 2-Clause "Simplified" License
40 stars 5 forks source link

Not working #10

Open SoftCreatR opened 6 years ago

SoftCreatR commented 6 years ago

I've just compiled nginx 1.13.6 with your module and now i'm trying to make it work.

I've enabled it:

http2_server_push on;
add_header HTTP2-Pushed $http2_pushed;

I've added an example ressource to push in the server block:

http2_push_path "/foo";

Reloaded the webserver and checked the headers. I can see, that the module itself does something, but that doesn't seem to be correct:

http2-pushed:.

That's all. Even the website at https://http2-push.io reports, that there's nothing pushed.

kaziqta commented 6 years ago

btw, will it work only with Link headers? or I have to specify every file?

kevin25 commented 6 years ago

I tried to work on it several days but no luck. Then i gave up.