P
P
Pavel2016-06-17 11:29:53
Nginx
Pavel, 2016-06-17 11:29:53

How to set up http/2 for the site to work in fox?

I added http2 as a result, the site in the fox does not work, for that in chrome everything is ok.
tests show that http2 is enabled.
Server: Apache MPM-ITK 2.2.15-53.el6.centos , Apache PHP module 5.3.3-47.el6 , PHP-FPM 5.3.3-47.el6 , awstats 7.0-3.el6 , logrotate 3.7.8- 26.el6_7 , nginx 1.10.1-1.el6.ngx

root $root_path;
listen 8.8.8.8:443 http2;
location / {
location ~ [^/]\.ph(p\d*|tml)$ {
try_files /does_not_exists @fallback;
}
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
expires 14d;
try_files $uri $uri/ @fallback;
}
location / {
try_files /does_not_exists @fallback;
}
}
location @fallback {
proxy_pass 127.0.0.1:8080 ;
proxy_redirect 127.0.0.1:8080 /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
access_logoff;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nikolayvaganov, 2016-06-17
@nikolayvaganov

about:config -> network.http.spdy.enabled.http2draft -> true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question