logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 162ec3384ea56e878a1a44694c071d17cc71d8fc
parent e31bab2389cfb0934ff4c8443b36ed5c1bbeb399
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 24 Jun 2020 20:44:36 -0700

nginx: Enable http2

Diffstat:

Mpkg/nginx/gen.lua1+
Mpkg/nginx/modules.txt2++
Mpkg/nginx/ngx_auto_config.h2++
Mpkg/nginx/sources.txt2+-
4 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/pkg/nginx/gen.lua b/pkg/nginx/gen.lua @@ -2,6 +2,7 @@ cflags{ '-I $dir', '-I $srcdir/src/core', '-I $srcdir/src/event', + '-I $srcdir/src/http/v2', '-I $srcdir/src/os/unix', '-isystem $builddir/pkg/linux-headers/include', } diff --git a/pkg/nginx/modules.txt b/pkg/nginx/modules.txt @@ -8,6 +8,7 @@ http_core http_log http_upstream +http_v2 http_static http_autoindex http_index @@ -20,6 +21,7 @@ http_ssl http_write_filter http_header_filter http_chunked_filter +http_v2_filter http_range_header_filter http_gzip_filter http_postpone_filter diff --git a/pkg/nginx/ngx_auto_config.h b/pkg/nginx/ngx_auto_config.h @@ -82,6 +82,8 @@ /* auto/modules */ #define NGX_HTTP_CACHE 1 +#define NGX_HTTP_V2 1 +#define NGX_HTTP_HEADERS 1 #define NGX_HTTP_GZIP 1 #define NGX_CRYPT 1 #define NGX_HTTP_SSL 1 diff --git a/pkg/nginx/sources.txt b/pkg/nginx/sources.txt @@ -20,7 +20,7 @@ http_core http/ngx_http_core_module.c http_log http/modules/ngx_http_log_module.c http_upstream http/ngx_http_upstream.c http/ngx_http_upstream_round_robin.c -http_v2 http/v2/ngx_http_v2.c http/v2/ngx_http_v2_table.c http/v2/ngx_http_v2_encode.c http/v2/ngx_http_v2_huff_decode.c http/v2/ngx_http_v2/huff_encode.c http/v2/ngx_http_v2_module.c +http_v2 http/v2/ngx_http_v2.c http/v2/ngx_http_v2_table.c http/v2/ngx_http_v2_encode.c http/v2/ngx_http_v2_huff_decode.c http/v2/ngx_http_v2_huff_encode.c http/v2/ngx_http_v2_module.c http_static http/modules/ngx_http_static_module.c http_gzip_static http/modules/ngx_http_gzip_static_module.c http_dav http/modules/ngx_http_dav_module.c