Use a2ensite instead of ln -s to enable site

Replace instruction using `ln -s` to enable Apache
site to use `a2ensite` instead in Debian and
derivatives. Closes #884.
This commit is contained in:
Jani Uusitalo 2018-10-02 15:43:18 +03:00 committed by Morris Jobke
parent 90a9669eef
commit 86362e62ef
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68

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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^