vhost Vorlage für :443
vhost Vorlage für :443
Ich würde gern dort
Protocols h2 http/1.1 einfügen das es Standardmäßig mit aktiviert wird.
Re: vhost Vorlage für :443
der Apache liefert erst ab Debian 9 und Ubuntu 16.04 eine http/2-fähige Version mit (ab 2.4.17).
Die Vorlage zur Generierung der vhosts ist hardcoded und kann nicht angepasst werden
Jedoch wird das Modul mod_http2 nicht als default bereitgestellt. Hierzu müsste das Modul in den Apache selbst mit einkompiliert oder über nachfolgende Quelle https://launchpad.net/~ondrej/+archive/ubuntu/apache2 bezogen werden.
Es ist im Anschluss möglich http/2 mittels http2.conf global zu aktivieren.
Daniel Marckardt
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************
Re: vhost Vorlage für :443
Wo finde ich http2.conf
MfG Marco
Re: vhost Vorlage für :443
um h2 zu aktivieren reicht hier das erstellen einer http2.conf in mods-available, wenn man http2 dann mit a2enmod aktiviert wird dies dann ebenfalls geladen. Für den Inhalt reicht hier:
Alternativ wäre eine Angabe pro Benutzer in den neuen Apache Vhost Einstellungsfeld in KeyHelp möglich.cat /etc/apache2/mods-available/http2.conf
Protocols h2 http/1.1
Martin
Re: vhost Vorlage für :443
Re: vhost Vorlage für :443
Code: Select all
sudo add-apt-repository ppa:ondrej/apache2
sudo apt update
sudo apt install apache2
Da habe ich "N" gedrückt => KeyHelp Version behaltenConfiguration file '/etc/apache2/apache2.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ?
Dies habe ich mit "Y" beantwortet => neue Version installierenConfiguration file '/etc/apache2/mods-available/mime.conf'
Code: Select all
a2enmod http2
systemctl restart apache2
Code: Select all
Protocols h2 http:/1.1
Das hat leider nicht geklappt.
Aber ansonsten, alles gut

Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser