Use standard nginx.conf from lsio alpine nginx base image

This commit is contained in:
Eric Nemchik
2021-10-14 14:01:48 -05:00
parent e6628f05c3
commit 6123952de7
36 changed files with 520 additions and 837 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/with-contenv bash
if [[ -f /config/nginx/502.conf ]]; then
echo "/config/nginx/502.conf exists.
Please migrate to error_pages.conf"
fi
if [[ -f /config/nginx/geoip2.conf ]]; then
echo "/config/nginx/geoip2.conf exists.
Please migrate to https://github.com/linuxserver/docker-mods/tree/swag-maxmind"
fi
if [[ -f /config/nginx/ldap.conf ]]; then
echo "/config/nginx/ldap.conf exists.
Please apply any customizations to /config/nginx/ldap-server.conf
Ensure your nginx.conf is updated and remove /config/nginx/ldap.conf
If you do not use this config, simply remove it."
fi