Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
z-push apache config
Alias /Microsoft-Server-ActiveSync /domains/z-push.example.com/public_html/index.php
<Directory "/domains/z-push.example.com/public_html">
Options -Indexes
AllowOverride None
Require all granted
php_flag magic_quotes_gpc off
php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag short_open_tag on
</Directory>
<VirtualHost *:443>
ServerName z-push.example.com
DocumentRoot /domains/z-push.example.com/public_html/
CustomLog /domains/z-push.example.com/logs/access.log combined
ErrorLog /domains/z-push.example.com/logs/error.log
<IfModule mod_ssl.c>
SSLEngine On
SSLCipherSuite AES128+EECDH:AES128+EDH
SSLProtocol All -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCertificateFile /etc/letsencrypt/live/z-push.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/z-push.example.com/privkey.pem
</IfModule>
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.