Sfoglia il codice sorgente

Enable Apache HTTP/2 for better performance (#570)

pull/571/head
Peter Dave Hello 4 anni fa
committed by GitHub
parent
commit
cc7bac7c9b
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +2
    -0
      containers/webserver/httpd-ssl.conf
  2. +1
    -1
      containers/webserver/httpd.conf

+ 2
- 0
containers/webserver/httpd-ssl.conf Vedi File

@@ -114,6 +114,8 @@ SSLSessionCacheTimeout 300
# Seconds before invalid OCSP responses are expired from the cache
#SSLStaplingErrorCacheTimeout 600

Protocols h2 h2c http/1.1

##
## SSL Virtual Host Context
##


+ 1
- 1
containers/webserver/httpd.conf Vedi File

@@ -164,7 +164,7 @@ LoadModule ssl_module modules/mod_ssl.so
#LoadModule optional_fn_import_module modules/mod_optional_fn_import.so
#LoadModule optional_fn_export_module modules/mod_optional_fn_export.so
#LoadModule dialup_module modules/mod_dialup.so
#LoadModule http2_module modules/mod_http2.so
LoadModule http2_module modules/mod_http2.so
#LoadModule proxy_http2_module modules/mod_proxy_http2.so
#LoadModule md_module modules/mod_md.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so


Caricamento…
Annulla
Salva