http2 module nginx not working

前端 未结 2 1623
挽巷
挽巷 2021-01-23 08:03

I have some problem with enable http2 protocol in nginx. Site writes on Laravel 5 (but I think this doesn\'t matter).

First, I upgrade nginx version.

Deb         


        
2条回答
  •  轮回少年
    2021-01-23 09:06

    I didn't immediately see any errors in your config, so first, the obvious: did you reload/restart Nginx?

    service nginx restart
    

    Then, I would double-check the results you're getting in Chrome by using a website such as https://tools.keycdn.com/http2-test. I would also check the server logs and see what HTTP version Nginx is reporting is being used.

    (Insufficient reputation to leave a comment)

提交回复
热议问题