mirror of
https://github.com/linuxserver/docker-swag.git
synced 2026-04-17 17:51:52 +09:00
Use standard nginx.conf from lsio alpine nginx base image
This commit is contained in:
16
root/etc/cont-init.d/70-outdated
Normal file
16
root/etc/cont-init.d/70-outdated
Normal 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
|
||||
Reference in New Issue
Block a user