Hi guys,
I managed a while ago to setup my Nextcloud on my Raspberry Pi 3. Now it is time to move on for me because I have more than one web-project ongoing. But how do I set up my Apache2 config? I have absolutely no idea! Current tries underneath…
Thanks for your help,
SchoolGuy
nextcloud.conf
Alias / "/var/www/nextcloud/"
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
</Directory>
<VirtualHost *:80>
ServerName nextcloud.mydomain.de
ServerAdmin webmaster@mydomain.de
DocumentRoot "/var/www/nextcloud/"
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/nextcloud.mydomain combined
LogLevel Info
</VirtualHost>
mydomain.conf
<VirtualHost *:80>
ServerName mydomain.de
ServerAdmin webmaster@mydomain.de
DocumentRoot "/var/www/mydomain/html"
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/mydomain combined
LogLevel Info
</VirtualHost>