diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 864eb0c..7705b56 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -162,12 +162,12 @@ HOOKS_LOCATION_BLOCK="" if [ -n "$HOOKS_PATH" ]; then HOOKS_LOCATION_BLOCK="location ${HOOKS_PATH} { proxy_pass http://127.0.0.1:${GATEWAY_PORT}; - proxy_set_header Authorization \\\$http_authorization; + proxy_set_header Authorization \$http_authorization; - proxy_set_header Host \\\$host; - proxy_set_header X-Real-IP \\\$remote_addr; - proxy_set_header X-Forwarded-For \\\$proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto \\\$scheme; + proxy_set_header Host \$host; + proxy_set_header X-Real-IP \$remote_addr; + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto \$scheme; proxy_http_version 1.1;