source: lliurex-owncloud/trunk/fuentes/install-files/etc/apache2/sites-available/owncloud.conf @ 1391

Last change on this file since 1391 was 1391, checked in by jrpelegrina, 5 years ago

Wip in update to owncloud 9

File size: 763 bytes
Line 
1<VirtualHost *:80>
2        ServerName owncloud             
3        ServerAdmin owcloud
4        DocumentRoot /var/www/owncloud/
5
6        <Directory /var/www/onwcloud>
7                Options Indexes FollowSymLinks MultiViews
8                AllowOverride None
9                Order allow,deny
10                allow from all
11        </Directory>
12       
13        ErrorLog ${APACHE_LOG_DIR}/error.log
14        LogLevel warn
15        CustomLog ${APACHE_LOG_DIR}/access.log combined
16        ServerSignature Off
17</VirtualHost>
18
19
20<IfModule mod_ssl.c>
21        <VirtualHost _default_:443>
22                ServerAdmin owncloud
23                DocumentRoot /var/www/owncloud/
24               
25                ErrorLog ${APACHE_LOG_DIR}/error.log
26                CustomLog ${APACHE_LOG_DIR}/access.log combined
27               
28                SSLEngine on
29                SSLCertificateFile /etc/n4d/cert/n4dcert.pem
30                SSLCertificateKeyFile /etc/n4d/cert/n4dkey.pem
31               
32        </VirtualHost>
33</IfModule>
Note: See TracBrowser for help on using the repository browser.