1
0

Compare commits

...

2 Commits

12 changed files with 17 additions and 5 deletions

View File

@ -46,13 +46,14 @@ RUN w=$(mktemp -d) ; \
pip-env.sh pip uninstall -y 'cython' ; \
python-rm-cache.sh "${PYTHON_SITE_PACKAGES}" ; \
rm -rf \
"${PYTHON_SITE_PACKAGES}/netaddr/tests" \
"${PYTHON_SITE_PACKAGES}/psutil/tests" \
; \
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
echo ; \
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -printf '%p\0' \
| sed -zE '/rust/d' \
| xargs -0r strip --strip-debug ; \
| xargs -0r strip --verbose --strip-debug ; \
echo ; \
find "${PYTHON_SITE_PACKAGES}/" -type f -name '*.so*' -exec ls -l {} + ; \
apt-remove.sh build-essential ; \

View File

@ -0,0 +1 @@
brotli_static on;

View File

@ -0,0 +1,2 @@
include snip.d/http-brotli.modconf;
brotli on;

View File

@ -11,4 +11,4 @@ brotli_buffers 32 16k;
brotli_types
## sourced from mime-types.compress.txt
{{ mime_types | indent(4) }}
;
;

View File

@ -0,0 +1 @@
gunzip_buffers 16 16k;

View File

@ -1 +1,2 @@
gunzip_buffers 16 16k;
include snip.d/http-gunzip.modconf;
gunzip on;

View File

@ -0,0 +1 @@
gzip_static on;

View File

@ -0,0 +1,2 @@
include snip.d/http-gzip.modconf;
gzip on;

View File

@ -12,4 +12,4 @@ gzip_proxied any;
gzip_types
## sourced from mime-types.compress.txt
{{ mime_types | indent(4) }}
;
;

View File

@ -0,0 +1 @@
zstd_static on;

View File

@ -0,0 +1,2 @@
include snip.d/http-zstd.modconf;
zstd on;

View File

@ -9,4 +9,4 @@ zstd_buffers 32 16k;
zstd_types
## sourced from mime-types.compress.txt
{{ mime_types | indent(4) }}
;
;