NextCloud: verschil tussen versies
Uit WaaaghPedia
Geen bewerkingssamenvatting |
|||
Regel 3: | Regel 3: | ||
===Pretty URLs (Optie)=== | ===Pretty URLs (Optie)=== | ||
Open <code>nano /var/www/html/config/config.php</code> en voeg <code>'htaccess.RewriteBase' => '/',</code> toe aan de array | Open <code>nano /var/www/html/config/config.php</code> en voeg <code>'htaccess.RewriteBase' => '/',</code> toe aan de array | ||
<code>sudo -u apache php /var/www/html/occ maintenance:update:htaccess</code> | <code>sudo -u apache php /var/www/html/occ maintenance:update:htaccess</code> | ||
Bron: https://docs.nextcloud.com/server/16/admin_manual/installation/source_installation.html#pretty-urls | |||
===Trusted domains=== | ===Trusted domains=== | ||
<pre>'trusted_domains' => | <pre>'trusted_domains' => |
Huidige versie van 2 mei 2022 om 07:57
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