Created
March 20, 2019 16:00
-
-
Save geoghegan/3691fc0ab5fc18734868a61b334389eb to your computer and use it in GitHub Desktop.
z-push apache config
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
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