Changes

Jump to: navigation, search

OwnCloud

1,571 bytes added, 13:41, 15 October 2016
Apache beállítások
==Apache beállítások==
 
===Virtuális hoszt===
 
<source>
<VirtualHost *:443>
ServerAdmin adam@proarcok.com
ServerName owncloud.berki2.org:443
ServerAlias owncloud.berki2.org:443
ErrorLog logs/owncloud.berki2.org-error_log
CustomLog logs/owncloud.berki2.org-access_log common
 
##Fel evre garantaljuk, hogy HTTPS-en maradunk
Header always set Strict-Transport-Security "max-age=15768000; includeSubdomains;"
 
 
##########################
# SSL beállítások
##########################
 
# SSL parameterek
##########################
SSLEngine on
 
# Here, I am allowing only "high" and "medium" security key lengths.
SSLCipherSuite HIGH:MEDIUM
 
# Here I am allowing SSLv3 and TLSv1, I am NOT allowing the old SSLv2.
SSLProtocol all -SSLv2
 
# Szerver kulcsok
##########################
 
# Server Certificate:
SSLCertificateFile /etc/httpd/ssl/owncloud.berki2.org-server.cer
 
# Server Private Key:
SSLCertificateKeyFile /etc/httpd/ssl/owncloud.berki2.org-server.key
 
############################
 
DocumentRoot "/var/www/html/owncloud/"
 
#Alias /owncloud "/var/www/html/owncloud/"
<Directory "/var/www/html/owncloud">
Options +FollowSymLinks
AllowOverride All
 
<IfModule mod_dav.c>
Dav off
</IfModule>
 
SetEnv HOME /var/www/html/owncloud
SetEnv HTTP_HOME /var/www/html/owncloud
</Directory>
 
<Directory "/var/www/html/owncloud/data/">
# just in case if .htaccess gets disabled
Require all denied
</Directory>
 
 
</VirtualHost>
 
 
<source>
 
===HSTS===

Navigation menu