Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Passing to an http2 application

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
viraladmin
Posts: 57
Joined: Thu Apr 27, 2017 7:40 pm

Os: Ubuntu 15x
Web: apache + nginx
Passing to an http2 application
  • Quote

Post by viraladmin » Tue Sep 25, 2018 9:41 pm

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.

Code: Select all

proxy_pass      https://my.ip.address:8085;
returns:

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.
I have tried using the http2 template. I have tried adding the ssl http2 options directly:

Code: Select all

listen      my.ip.address:443 ssl http2;
adding the ssl option also returns an error

Code: Select all

no "ssl_certificate" is defined for the "listen ... ssl" directive in /etc/nginx/conf.d/my.ip.address.conf:1
if I set this code after ssl option after the

Code: Select all

ssl_certificate      /home/user/conf/web/ssl.url.pem;
ssl_certificate_key  /home/user/conf/web/ssl.url.key;
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?
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password