- Upgrade nginx to 1.19.5.
- Change base image to
zappi/nginxwhich enables running as unprivileged usernginx. - Remove permission fix as these are in the base image.
- Use port
8080instead of80.
- Set
STOPSIGNALtoSIGQUIT. - Remove unnecessary
EXPOSE. - Change
user:grouptonginx:nginx. - Fix permission issue.
- Change group to
nobodyinstead ofnogroup.
- Run as user
nobodyand groupnogroupinstead ofroot.
- Avoid adding trailing slash.
- Enable ability to ignore request URIs to support absolute redirection.
- Upgrade to Nginx 1.17.
- Enable configuration of redirect status code via
REDIRECT_CODEenvironment variable. - Upgrade to Nginx 1.15.
- Improve performance by using
returninstead ofrewrite. - Improve shutdown time using
exec.
- Initial working release. Forked from 9a44be5 on MorbZ/docker-web-redirect.