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.
<?php
$CONFIG = array (
...
'proxy' => '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.
<VirtualHost *:80>
...
SetEnv HTTP_PROXY 10.46.1.109:3128
SetEnv HTTPS_PROXY 10.46.1.109:3128
...
</VirtualHost>
But this also does not seem to work.
Any other ideas?
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.
<?php
$CONFIG = array (
...
'proxy' => '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.
<VirtualHost *:80>
...
SetEnv HTTP_PROXY 10.46.1.109:3128
SetEnv HTTPS_PROXY 10.46.1.109:3128
...
</VirtualHost>
But this also does not seem to work.
Any other ideas?
Thanks
Alex
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 497 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:54:50 |
Calls: | 9,771 |
Calls today: | 12 |
Files: | 13,748 |
Messages: | 6,186,525 |