A free, self-hostable news aggregator…
Avoid a warning on non-numeric TRUSTED_PROXY en var (#5733)
Mossroy280a1e11556b
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.shindex 6cb5a49b4..c17d0d445 100755--- a/Docker/entrypoint.sh+++ b/Docker/entrypoint.sh@@ -12,7 +12,7 @@ if [ -n "$LISTEN" ]; thenfiif [ -n "$TRUSTED_PROXY" ]; then- if [ "$TRUSTED_PROXY" -eq 0 ]; then+ if [ "$TRUSTED_PROXY" = "0" ]; then# Disable RemoteIPHeader and RemoteIPTrustedProxyfind /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "/^\s*RemoteIP.*$/s/^/#/" {} \;else