Skip to content

Commit 479ee5e

Browse files
committed
add brotli and dav-ext, remove lua
1 parent 363ba43 commit 479ee5e

File tree

7 files changed

+16
-9
lines changed

7 files changed

+16
-9
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ RUN \
2727
gnupg \
2828
memcached \
2929
nginx \
30+
nginx-mod-http-brotli \
31+
nginx-mod-http-dav-ext \
3032
nginx-mod-http-echo \
3133
nginx-mod-http-fancyindex \
3234
nginx-mod-http-geoip2 \
3335
nginx-mod-http-headers-more \
3436
nginx-mod-http-image-filter \
35-
nginx-mod-http-lua \
36-
nginx-mod-http-lua-upstream \
3737
nginx-mod-http-nchan \
3838
nginx-mod-http-perl \
3939
nginx-mod-http-redis2 \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ RUN \
2727
gnupg \
2828
memcached \
2929
nginx \
30+
nginx-mod-http-brotli \
31+
nginx-mod-http-dav-ext \
3032
nginx-mod-http-echo \
3133
nginx-mod-http-fancyindex \
3234
nginx-mod-http-geoip2 \
3335
nginx-mod-http-headers-more \
3436
nginx-mod-http-image-filter \
35-
nginx-mod-http-lua \
36-
nginx-mod-http-lua-upstream \
3737
nginx-mod-http-nchan \
3838
nginx-mod-http-perl \
3939
nginx-mod-http-redis2 \

Dockerfile.armhf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ RUN \
2727
gnupg \
2828
memcached \
2929
nginx \
30+
nginx-mod-http-brotli \
31+
nginx-mod-http-dav-ext \
3032
nginx-mod-http-echo \
3133
nginx-mod-http-fancyindex \
3234
nginx-mod-http-geoip2 \
3335
nginx-mod-http-headers-more \
3436
nginx-mod-http-image-filter \
35-
nginx-mod-http-lua \
36-
nginx-mod-http-lua-upstream \
3737
nginx-mod-http-nchan \
3838
nginx-mod-http-perl \
3939
nginx-mod-http-redis2 \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
326326

327327
## Versions
328328

329+
* **09.02.21:** - Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years).
329330
* **26.01.21:** - Add support for hetzner dns validation.
330331
* **20.01.21:** - Add check for ZeroSSL EAB retrieval.
331332
* **08.01.21:** - Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inxw and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled.

readme-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ app_setup_nginx_reverse_proxy_block: ""
151151

152152
# changelog
153153
changelogs:
154-
- { date: "08.02.21:", desc: "Rebasing to alpine 3.13." }
154+
- { date: "09.02.21:", desc: "Rebasing to alpine 3.13. Add nginx mods brotli and dav-ext. Remove nginx mods lua and lua-upstream (due to regression over the last couple of years)." }
155155
- { date: "26.01.21:", desc: "Add support for hetzner dns validation." }
156156
- { date: "20.01.21:", desc: "Add check for ZeroSSL EAB retrieval." }
157157
- { date: "08.01.21:", desc: "Add support for getting certs from [ZeroSSL](https://zerossl.com/) via optional `CERTPROVIDER` env var. Update aliyun, domeneshop, inxw and transip dns plugins with the new plugin names. Hide `donoteditthisfile.conf` because users were editing it despite its name. Suppress harmless error when no proxy confs are enabled." }

root/defaults/nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2020/10/04 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx.conf
1+
## Version 2021/02/09 - Changelog: https://github.com/linuxserver/docker-swag/commits/master/root/defaults/nginx.conf
22

33
user abc;
44
worker_processes 4;
@@ -85,7 +85,7 @@ http {
8585
##
8686
include /etc/nginx/conf.d/*.conf;
8787
include /config/nginx/site-confs/*;
88-
lua_load_resty_core off;
88+
#Removed lua. Do not remove this comment
8989

9090
##
9191
# Geoip2 config

root/etc/cont-init.d/50-config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ cp /config/fail2ban/jail.local /etc/fail2ban/jail.local
8181
[[ ! -f /config/www/502.html ]] &&
8282
cp /defaults/502.html /config/www/502.html
8383

84+
# remove lua bits from nginx.conf if not done before
85+
if ! grep -q '#Removed lua' nginx.conf; then
86+
echo "Removing lua specific info from nginx.conf"
87+
sed -i 's|\tlua_load_resty_core off;|\t#Removed lua. Do not remove this comment|g' nginx.conf
88+
fi
89+
8490
# copy pre-generated dhparams or generate if needed
8591
[[ ! -f /config/nginx/dhparams.pem ]] && \
8692
cp /defaults/dhparams.pem /config/nginx/dhparams.pem

0 commit comments

Comments
 (0)