Kategorie: Installation instructions

Add MIME-types to Nextcloud

Valid for Nextcloud 11 – 16. Create new file vi /var/www/nextcloud/config/mimetypemapping.json { “eml”: [“message/rfc822”], “dcm”: [“application/dicom”],} Update tables php occ maintenance:mimetype:update-db –repair-filecachephp occ maintenance:mimetype:update-j Open file See also /var/www/nextcloud/resources/config/mimetypemapping.dist.json

Weiterlesen

Apache Reverse Proxy

Enable mods a2enmod proxy proxy_http Edit Apache config on your local machine vi /etc/apache2/sites-enabled/000-default.conf <VirtualHost *:80> ProxyRequests Off ProxyPass        /intranet/ http://www.intranet.lan/ ProxyPassReverse /intranet/ http://www.intranet.lan/ </VirtualHost> Save and restart Apache service

Weiterlesen