aboutsummaryrefslogtreecommitdiff
path: root/Docker
diff options
context:
space:
mode:
Diffstat (limited to 'Docker')
-rwxr-xr-xDocker/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh
index 6cb5a49b4..c17d0d445 100755
--- a/Docker/entrypoint.sh
+++ b/Docker/entrypoint.sh
@@ -12,7 +12,7 @@ if [ -n "$LISTEN" ]; then
fi
if [ -n "$TRUSTED_PROXY" ]; then
- if [ "$TRUSTED_PROXY" -eq 0 ]; then
+ if [ "$TRUSTED_PROXY" = "0" ]; then
# Disable RemoteIPHeader and RemoteIPTrustedProxy
find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "/^\s*RemoteIP.*$/s/^/#/" {} \;
else