From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89E9415800F for ; Sun, 19 Feb 2023 12:17:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 519C6E0898; Sun, 19 Feb 2023 12:17:46 +0000 (UTC) Received: from isp1.netcon.at (isp1.netcon.at [109.70.238.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4B38E0877 for ; Sun, 19 Feb 2023 12:17:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by isp1.netcon.at (Postfix) with ESMTP id 725BD18EF95C for ; Sun, 19 Feb 2023 13:17:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at isp1.netcon.intern Received: from isp1.netcon.at ([127.0.0.1]) by localhost (isp1.netcon.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GsoKOIAURax3 for ; Sun, 19 Feb 2023 13:17:42 +0100 (CET) Received: from puchmayr.linznet.at (unknown [91.142.26.35]) by isp1.netcon.at (Postfix) with ESMTPS id C3CC618EF8D9 for ; Sun, 19 Feb 2023 13:17:42 +0100 (CET) Received: (qmail 26650 invoked from network); 19 Feb 2023 12:16:56 -0000 Received: from zeus.local (HELO zeus.localnet) (192.168.1.2) by mail.local with SMTP; 19 Feb 2023 12:16:56 -0000 From: Alexander Puchmayr To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Nextcloud-24.0.7 and proxy settings Date: Sun, 19 Feb 2023 13:17:41 +0100 Message-ID: <3039109.Mh6RI2rZIc@zeus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 92e34b37-5603-4036-8616-3f42a5713f6a X-Archives-Hash: 159c52025ec3809c32b9d7ce0592e1af Hi there, I'm trying to setup a nextcloud instance inside a DMZ that has no direct connection to the outside world, only via proxy. The proxy itself is working fine, but I fail to configure nextcloud to actually use this proxy. According to the docs, I tried setting the proxy field in config/config.php, i.e. '10.46.1.109:3128', 'proxyuserpwd' => '', ... ); But this setting seems to be ignored, tcpdump does not show any connection attempt to that ip and nextcloud complains that it cannot connect to the internet. In another forum I found that in /etc/apache2/vhosts.d/10_nextcloud_vhosts.conf, environment variables like HTTP_PROXY and HTTPS_PROXY may be set, i.e. ... SetEnv HTTP_PROXY 10.46.1.109:3128 SetEnv HTTPS_PROXY 10.46.1.109:3128 ... But this also does not seem to work. Any other ideas? Thanks Alex