From 43de9af71f7f4ca5731b94a06d688ae8412ba427 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 6 Jul 2018 11:14:41 +0200 Subject: 2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota --- mayor-orig/install/base/apache2/mayor.conf | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 mayor-orig/install/base/apache2/mayor.conf (limited to 'mayor-orig/install/base/apache2') diff --git a/mayor-orig/install/base/apache2/mayor.conf b/mayor-orig/install/base/apache2/mayor.conf new file mode 100644 index 00000000..d50b25a5 --- /dev/null +++ b/mayor-orig/install/base/apache2/mayor.conf @@ -0,0 +1,46 @@ + + ServerName your.mayor.server.hu + + ServerAdmin webmaster@localhost + + SSLEngine On + SSLCertificateFile /etc/apache2/ssl/apache.pem +# # SSLCertificateFile /etc/apache2/ssl/crt/name-cert.pem +# # SSLCertificateKeyFile /etc/apache2/ssl/key/name-key.pem + + DocumentRoot /var/mayor/www/ + + Options FollowSymLinks + AllowOverride None + + + Options -Indexes +FollowSymLinks +MultiViews + AllowOverride None + # Apache 2.2 # Order allow,deny + # Apache 2.2 # allow from all + # Apache 2.4 # Require all granted + = 2.3> + Require all granted + + + order allow,deny + allow from all + + RewriteEngine on + RewriteBase / + RewriteCond %{SERVER_PORT} ^80$ + RewriteCond %{THE_REQUEST} .*(policy=private|page=auth|page=password).* + RewriteRule (.*)$ https://%{SERVER_NAME}/$1 [L] + + + + ErrorLog /var/log/apache2/error.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access.log combined + ServerSignature On + + -- cgit v1.2.3