Apache HTTP Server - /etc/apache2/mods-available/http2.conf

Direkt von einer unveränderten Installation gezogen.

Schnellaktionen

📥 Original herunterladen http2.conf

Konfigurationsdatei-Informationen

Konfigurationsdatei-Inhalt

/etc/apache2/mods-available/http2.conf
35 Zeilen

# mod_http2 doesn't work with mpm_prefork
<IfModule !mpm_prefork>
    Protocols h2 h2c http/1.1

    # # HTTP/2 push configuration
    # 
    # H2Push          on
    # 
    # # Default Priority Rule
    # 
    # H2PushPriority * After 16
    # 
    # # More complex ruleset:
    # 
    # H2PushPriority  *                       after
    # H2PushPriority  text/css                before
    # H2PushPriority  image/jpeg              after   32
    # H2PushPriority  image/png               after   32
    # H2PushPriority  application/javascript  interleaved
    # 
    # # Configure some stylesheet and script to be pushed by the webserver
    # 
    # <FilesMatch "\.html$">
    #     Header add Link "</style.css>; rel=preload; as=style"
    #     Header add Link "</script.js>; rel=preload; as=script"
    # </FilesMatch>
    # Since mod_http2 doesn't support the mod_logio module (which provide the %O format),
    # you may want to change your LogFormat directive as follow:
    #
    # LogFormat "%v:%p %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
    # LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined
    # LogFormat "%h %l %u %t \"%r\" %>s %B" common
</IfModule>

        

Download-Befehle

http2.conf •

Lade die 100% original unveränderte Konfigurationsdatei herunter von Apache HTTP Server

Mit wget:

wget -O http2.conf.example https://exampleconfig.com/api/v1/config/original/1d8bfa43825ea9c16b6180452336ba11?hint=http2.conf

Mit curl:

curl https://exampleconfig.com/api/v1/config/original/1d8bfa43825ea9c16b6180452336ba11?hint=http2.conf > http2.conf.example

Verwandte Konfigurationsdateien

Technische Details

Dateipfad
/etc/apache2/mods-available/http2.conf
Plattform
Linux
Dateigröße
35 Zeilen
Anwendung
Apache HTTP Server
Kompatible Versionen
MD5-Prüfsumme
1d8bfa43825ea9c16b6180452336ba11
SHA256-Prüfsumme
774c7227a5eca450460a495653e74e2ac15203566fc0413c2c66ce65ccb28ef6