mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-12-20 05:04:33 -05:00
17 lines
634 B
Plaintext
17 lines
634 B
Plaintext
#!/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
|