Passing to an http2 application
-
- Posts: 57
- Joined: Thu Apr 27, 2017 7:40 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Passing to an http2 application
I have an application running on port 8085 that is an http2 application.
I have tried everything I can to pass to this port and cannot for the life of me figure this out.
returns:
I have tried using the http2 template. I have tried adding the ssl http2 options directly:
adding the ssl option also returns an error
if I set this code after ssl option after the
no ssl_certificate error seems to go away. However nothing I am trying actually forwards to the app and gets rid of the "Unknown ALPN Protocol" error.
Does anyone have a proper solution to this?
I have tried everything I can to pass to this port and cannot for the life of me figure this out.
Code: Select all
proxy_pass https://my.ip.address:8085;
Code: Select all
Unknown ALPN Protocol, expected `h2` to be available.
If this is a HTTP request: The server was not configured with the `allowHTTP1` option or a listener for the `unknownProtocol` event.
Code: Select all
listen my.ip.address:443 ssl http2;
Code: Select all
no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/my.ip.address.conf:1
Code: Select all
ssl_certificate /home/user/conf/web/ssl.url.pem;
ssl_certificate_key /home/user/conf/web/ssl.url.key;
Does anyone have a proper solution to this?