Notifications bookstack cops diskover dokuwiki freshrss grav grocy heimdall librespeed lychee muximux nextcloud nginx photoshow phpmyadmin piwigo pixapop projectsend snapdrop snipe-it swag xbackbone
Most images using our alpine-nginx base image are being updated to alpine 3.15 with php8 and some significant changes to the nginx configs.
Changes you will likely notice:
worker_processes.conf
and init script to generate it in the baseresolver.conf
and init script to generate it in the basessl.conf
in the base (the same as what is currently shipped in SWAG, but adjusted to use the self-signed certs generated by the base)include /config/nginx/site-confs/*.conf;
with *.conf
extension (rename existing user files automatically)default.conf
/app/www/public/
, and if that does not exist, use /config/www
.htaccess
/.htpasswd
filesfastcgi_params
to use PATH_INFO
and mitigate HTTP_PROXY
vulnerability/defaults/nginx/
are recursively copied to the user’s /config/nginx/
(maintaining the structure)*.sample
and all include ## Version YYYY/MM/DD - Changelog: <url to repo history>
used by /etc/cont-init.d/85-version-checks
/config/nginx/nginx.conf
, /config/nginx/server-confs/ssl.conf
and /config/nginx/site-confs/default.conf
) are enabled by default. Downstream images can include and/or enable others as needed (ex: SWAG will enable /config/nginx/location-confs/proxy.conf
and /config/nginx/server-confs/502.conf
)/config/nginx/
context):nginx.conf
(enabled by default)resolver.conf
(enabled by default)ssl.conf
(enabled by default)worker_processes.conf
(enabled by default)/config/nginx/site-confs/*
included inside the http
context in /config/nginx/nginx.conf
default.conf
(enabled by default)502.conf
(enabled by default)authelia-location.conf
authelia-server.conf
ldap-location.conf
ldap-server.conf
proxy.conf
(enabled by default)Under the hood:
root/migrations/01-nginx-site-confs-default
migrate existing default
to default.conf
root/etc/cont-init.d/11-folders
creates all the folders needed in /config
root/etc/cont-init.d/12-samples
removes existing *.sample
files from /config/nginx
and copies any included *.sample
files from the imageroot/etc/cont-init.d/13-nginx
enable required configs (nginx.conf
, ssl.conf
and default.conf
) if they don’t exist, setup dhparams.pem
, setup resolver.conf
, setup worker_processes.conf
root/etc/cont-init.d/14-php
configure phproot/etc/cont-init.d/15-keygen
create self signed certificates for ssl.conf
root/etc/cont-init.d/20-permissions
set /config
permissionsroot/etc/cont-init.d/85-version-checks
check all enabled *.conf
files against all *.sample
files shipped with the image and alert the user about updatesStatus of affected images:
Any images with notes above may not be merged. We will make efforts to update this page if any of the images with notes above are merged at a later date. We may also make individual announcements about status updates regarding these images.
Last updated: October 14, 2022 at 9:13 AM