mirror of
https://github.com/krislamo/freecloud
synced 2025-09-11 21:09:31 +00:00
Basic Nextcloud Installation on Debian 10
A basic installation of Nextcloud 16 Stable on Debian Stable.
This commit is contained in:
36
roles/nextcloud/templates/apacheconf.conf
Normal file
36
roles/nextcloud/templates/apacheconf.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
# Freedom Cloud. Management code for a self-hosted file server.
|
||||
# Copyright (C) 2019 Kris Lamoureux
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, version 3 of the License.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName {{ nc_domain }}
|
||||
|
||||
ServerAdmin {{ nc_admin }}
|
||||
DocumentRoot {{ nc_docroot }}
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
|
||||
<Directory {{ nc_docroot }}>
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
|
||||
php_value memory_limit 512M
|
||||
</Directory>
|
||||
|
||||
# vim: syntax=apache
|
Reference in New Issue
Block a user