Merge pull request #885 from uusijani/a2ensite

Use a2ensite instead of ln -s to enable site
This commit is contained in:
Morris Jobke 2018-10-03 00:43:57 +02:00 committed by GitHub
commit 016c4868d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,9 +256,9 @@ it, replacing the **Directory** and other filepaths with your own filepaths::
</Directory>
Then create a symlink to :file:`/etc/apache2/sites-enabled`::
Then enable the newly created site::
ln -s /etc/apache2/sites-available/nextcloud.conf /etc/apache2/sites-enabled/nextcloud.conf
a2ensite nextcloud.conf
Additional Apache configurations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^