tl;dr: yes, simply `juju set apache2 apt-source:ppa:ondrej/apache2` and `juju set apache2 enable_modules=ssl,http2`
Given that the charm installs apache2 from ubuntu repos, its pretty easy to extend the charm to allow it to enabled a PPA. I did this back in October: http://jrwren.wrenfam.com/blog/2015/10/26/juju-makes-getting-to-http2-easier/ Sometime later that was updated to be more friendly and merged into the apache2 trusty charm: https://jujucharms.com/apache2/trusty/20 AFAIK, Apache2 shipped in Xenial without http2 enabled for security reasons, it is not the default for good reasons. For non-production use, the ondrej/apache2 PPA works very well. -- Jay Wren On Mon, May 9, 2016 at 12:22 PM, Robin Winslow <ro...@canonical.com> wrote: > I spent the weekend playing around with getting mod_http2 > <https://httpd.apache.org/docs/2.4/mod/mod_http2.html> working in Apache2 > on my laptop. > > Although HTTP/2 <https://http2.github.io/> is supported in the xenial > version of nginx, Apache2 in Xenial doesn't currently > <https://bugs.launchpad.net/ubuntu-release-notes/+bug/1531864> > support mod_http2. To get it, you have to compile Apache yourself > <https://icing.github.io/mod_h2/howto.html> with the --enable-http2 > option. > > Does anyone know of any existing work on adding HTTP/2 support to the > Apache2 charm? > > If not, I may have a go at extending it myself. > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju