iOS 11 devices fail to access nginx HTTPS site secured with LetsEncrypt (Protocol error) iOS 11 devices fail to access nginx HTTPS site secured with LetsEncrypt (Protocol error) docker docker

iOS 11 devices fail to access nginx HTTPS site secured with LetsEncrypt (Protocol error)


Ok, I actually found the issue to be related to an improper implementation of HTTP2 in iOS11.

This post shed some light on the situation:http://www.essential.exchange/2017/09/18/ios-11-about-to-release-things-to-be-aware-of/

The jwilder/nginx-proxy docker image is using http2 by default and as far as I can see you can't change that either.

No, to solve the issue, remove the http2 keyword in your server configuration for now.

This:

server {  listen x.x.x.x:443 ssl http2;  server_name xxxx;  [...]}

Becomes:

server {  listen x.x.x.x:443 ssl;  server_name xxxx;  [...]}

If you're running jwilder/nginx-proxy you will have to change /app/nginx.tmpl too, otherwise, the config file will be rewritten at one point.

Hope this answer helps some people struggling with the same problem.If you find another solution to fix this, please add it below. I haven't had too much time to look for solutions as it took me forever to find this one.