Merge pull request #2772 from AndrewwHummer/patch-2

Example centos walkthrough, add working secure apache config
This commit is contained in:
Morris Jobke
2020-09-14 17:11:10 +02:00
committed by GitHub

View File

@@ -21,8 +21,29 @@ Apache
::
dnf install -y httpd
Create a virtualhost in ``/etc/httpd/conf.d/nextcloud.conf`` and add the following content to it:
See :ref:`apache_configuration_label` for details.
::
<VirtualHost *:80>
DocumentRoot /var/www/html/nextcloud/
ServerName your.server.com
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
</VirtualHost>
See :ref:`apache_configuration_label` for further details.
Make sure the apache web service is enabled and started::