Created
March 1, 2019 07:19
-
-
Save raksa/0ed2592e19f5d97342f32746500fd4be to your computer and use it in GitHub Desktop.
config apahce https virtual host
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 *:443> | |
DocumentRoot "/dir/to/document" | |
ServerName domain | |
SSLEngine on | |
SSLCertificateFile /dir/to/cert/file.pem | |
SSLCertificateKeyFile /dir/to/cert/file.key | |
<FilesMatch "\.(cgi|shtml|phtml|php)$"> | |
SSLOptions +StdEnvVars | |
</FilesMatch> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment