Created
March 10, 2016 11:48
-
-
Save WaaromZoMoeilijk/9d4b4129ad1d34f6af6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
#header add Strict-Transport-Security: "max-age=15768000;includeSubdomains" | |
# SSLEngine on | |
### YOUR SERVER ADDRESS ### | |
ServerAdmin ich@dwgadf.de | |
ServerName example.com | |
ServerAlias www.example.com | |
### SETTINGS ### | |
DocumentRoot /var/www/owncloud | |
<Directory /var/www/owncloud> | |
Options Indexes FollowSymLinks MultiViews ExecCGI | |
AllowOverride All | |
Require all granted | |
Satisfy Any | |
</Directory> | |
Alias /owncloud "/var/www/owncloud/" | |
<IfModule mod_dav.c> | |
Dav off | |
</IfModule> | |
SetEnv HOME /var/www/owncloud | |
SetEnv HTTP_HOME /var/www/owncloud | |
### LOCATION OF CERT FILES ### | |
#SSLCertificateFile /etc/ssl/oc/crt.crt | |
#SSLCertificateKeyFile /etc/ssl/oc/key.pem | |
#SSLCACertificateFile /etc/ssl/oc/ca-bundle | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment