aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-11-13 17:07:25 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2023-11-20 11:36:42 +0100
commit0107c7ea24a28779dad09117d8dc5a4a49b95dc5 (patch)
treebf287152cf5a5076288a2b7a2fb822ba882ad8da /core/js/setupchecks.js
parent0da05fc73b720702b76d8838228f3ce648793482 (diff)
downloadnextcloud-server-0107c7ea24a28779dad09117d8dc5a4a49b95dc5.tar.gz
nextcloud-server-0107c7ea24a28779dad09117d8dc5a4a49b95dc5.zip
Migrate Forwarded For Headers check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index 86d84719d4a..1d64acf01ea 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -222,14 +222,6 @@
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
});
}
- if(!data.forwardedForHeadersWorking) {
- messages.push({
- msg: t('core', 'The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the {linkstart}documentation ↗{linkend}.')
- .replace('{linkstart}', '<a target="_blank" rel="noreferrer noopener" class="external" href="' + data.reverseProxyDocs + '">')
- .replace('{linkend}', '</a>'),
- type: OC.SetupChecks.MESSAGE_TYPE_WARNING
- });
- }
if(!data.isCorrectMemcachedPHPModuleInstalled) {
messages.push({
msg: t('core', 'Memcached is configured as distributed cache, but the wrong PHP module "memcache" is installed. \\OC\\Memcache\\Memcached only supports "memcached" and not "memcache". See the {linkstart}memcached wiki about both modules ↗{linkend}.')