Last change
on this file since 1415 was
1415,
checked in by jrpelegrina, 5 years ago
|
Fix css and https access
|
File size:
774 bytes
|
Line | |
---|
1 | <VirtualHost *:80> |
---|
2 | ServerName owncloud |
---|
3 | ServerAdmin owcloud |
---|
4 | DocumentRoot /var/www/owncloud/ |
---|
5 | |
---|
6 | <Directory /var/www/onwcloud> |
---|
7 | Options +FollowSymLinks |
---|
8 | AllowOverride All |
---|
9 | <IfModule mod_dav.c> |
---|
10 | Dav off |
---|
11 | </IfModule> |
---|
12 | |
---|
13 | |
---|
14 | |
---|
15 | </Directory> |
---|
16 | |
---|
17 | ErrorLog ${APACHE_LOG_DIR}/error.log |
---|
18 | LogLevel warn |
---|
19 | CustomLog ${APACHE_LOG_DIR}/access.log combined |
---|
20 | ServerSignature Off |
---|
21 | </VirtualHost> |
---|
22 | |
---|
23 | |
---|
24 | <IfModule mod_ssl.c> |
---|
25 | <VirtualHost _default_:443> |
---|
26 | ServerName owncloud |
---|
27 | ServerAdmin owncloud |
---|
28 | DocumentRoot /var/www/owncloud/ |
---|
29 | |
---|
30 | ErrorLog ${APACHE_LOG_DIR}/error.log |
---|
31 | CustomLog ${APACHE_LOG_DIR}/access.log combined |
---|
32 | |
---|
33 | SSLEngine on |
---|
34 | SSLCertificateFile /etc/n4d/cert/n4dcert.pem |
---|
35 | SSLCertificateKeyFile /etc/n4d/cert/n4dkey.pem |
---|
36 | |
---|
37 | </VirtualHost> |
---|
38 | </IfModule> |
---|
Note: See
TracBrowser
for help on using the repository browser.