diff options
author | Thomas Lange <code@nerdmind.de> | 2016-02-08 02:09:45 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2016-02-08 02:09:45 +0100 |
commit | d10f5cdf9d9d1eac2e408368d5752836b37cd9de (patch) | |
tree | 6a3a859510e7c89995a4a86e5b967a6e0986eb62 /Apache/virtualhosts | |
parent | a477f549fa8c1d3a0f53f1b24b58de68809ab48c (diff) | |
download | snippets-d10f5cdf9d9d1eac2e408368d5752836b37cd9de.tar.gz snippets-d10f5cdf9d9d1eac2e408368d5752836b37cd9de.tar.xz snippets-d10f5cdf9d9d1eac2e408368d5752836b37cd9de.zip |
Initial commit
Diffstat (limited to 'Apache/virtualhosts')
-rw-r--r-- | Apache/virtualhosts/virtualhost-simple.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Apache/virtualhosts/virtualhost-simple.conf b/Apache/virtualhosts/virtualhost-simple.conf new file mode 100644 index 0000000..a3ec987 --- /dev/null +++ b/Apache/virtualhosts/virtualhost-simple.conf @@ -0,0 +1,30 @@ +#=============================================================================== +# domainname.tld:80 +#=============================================================================== +<VirtualHost *:80> + DocumentRoot "/var/www/domainname.tld/" + ServerName domainname.tld + + <Directory /var/www/domainname.tld/> + # Something + </Directory> +</VirtualHost> + +#=============================================================================== +# domainname.tld:443 +#=============================================================================== +<VirtualHost *:443> + <IfModule mod_ssl.c> + DocumentRoot "/var/www/domainname.tld/" + ServerName domainname.tld + + SSLEngine on + SSLCertificateFile /var/certificates/domainname.tld/certificate.pem + SSLCertificateKeyFile /var/certificates/domainname.tld/private.pem + SSLCertificateChainFile /var/certificates/domainname.tld/intermediate.pem + + <Directory /var/www/domainname.tld/> + # Something + </Directory> + </IfModule> +</VirtualHost>
\ No newline at end of file |