NextCloud

Uit WaaaghPedia
Versie door Waaaghnl (overleg | bijdragen) op 2 mei 2022 om 07:57 (→‎Pretty URLs (Optie))
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)

Tweaks

Hieronder vindt u een aantal tweaks om uw installatie nog beter te maken.

Pretty URLs (Optie)

Open nano /var/www/html/config/config.php en voeg 'htaccess.RewriteBase' => '/', toe aan de array

sudo -u apache php /var/www/html/occ maintenance:update:htaccess

Bron: https://docs.nextcloud.com/server/16/admin_manual/installation/source_installation.html#pretty-urls

Trusted domains

'trusted_domains' =>
  array (
   0 => 'localhost',
   1 => 'server1.example.com',
   2 => '192.168.1.50',
   3 => '[fe80::1:50]',
),

Inloggen achter Proxy

Wanneer nextcloud zich achter een proxy bevindt zal deze niet altijd automatisch doorsturen. Om dit te faciliteren voeg je 'overwriteprotocol' => 'https', toe aan je config.php

Bron: https://github.com/nextcloud/server/issues/17409#issuecomment-538684976