Created
October 30, 2017 12:50
-
-
Save nickvergessen/95a8607388ba8b9d2026a13c0a4564fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
SSLEngine on | |
SSLCertificateFile /etc/apache2/ssl/nextcloud{version}.crt | |
SSLCertificateKeyFile /etc/apache2/ssl/nextcloud{version}.key | |
ServerAdmin webmaster@nextcloud{version}.local | |
ServerName nextcloud{version}.local | |
ServerAlias www.nextcloud{version}.local | |
DocumentRoot /home/nickv/Nextcloud/{version}/server | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory "/home/nickv/Nextcloud/{version}/server" > | |
Options +Indexes +FollowSymLinks | |
AllowOverride All | |
Require all granted | |
# order allow,deny | |
# allow from all | |
</Directory> | |
</VirtualHost> | |
</IfModule> | |
<VirtualHost *:80> | |
ServerAdmin webmaster@nextcloud{version}.local | |
ServerName nextcloud{version}.local | |
ServerAlias www.nextcloud{version}.local | |
DocumentRoot /home/nickv/Nextcloud/{version}/server | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory "/home/nickv/Nextcloud/{version}/server" > | |
Options +Indexes +FollowSymLinks | |
AllowOverride All | |
Require all granted | |
# order allow,deny | |
# allow from all | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment