Skip to content

Instantly share code, notes, and snippets.

@gflorian
Created January 12, 2020 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gflorian/2f55223451bb07f1d679c27f47728b5d to your computer and use it in GitHub Desktop.
Save gflorian/2f55223451bb07f1d679c27f47728b5d to your computer and use it in GitHub Desktop.
NC CSRF issue
<?php
$CONFIG = array (
'instanceid' => 'geheimesZeug',
'passwordsalt' => 'mehrGeheimesZeug',
'datadirectory' => '/pfad/zum/nextcloud/data',
'dbtype' => 'sqlite3',
'version' => '17.0.2.1',
'installed' => true,
'forcessl' => true,
'theme' => '',
'maintenance' => false,
'trusted_domains' =>
array (
0 => 'domain.tld',
1 => '45.xxx.xxx.xx'
),
'secret' => 'ganzVielGeheimesZeug',
'loglevel' => 2,
'overwritehost' => 'domain.tld',
'overwriteprotocol' => 'https',
'overwritewebroot' => '/nextcloudVerzeichnis',
'trashbin_retention_obligation' => 'auto',
'updater.release.channel' => 'stable',
'overwrite.cli.url' => 'https://domain.tld/nextcloudVerzeichnis',
'updater.secret' => 'auchWasGeheimes',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment