Guest User

Untitled

a guest
Dec 19th, 2015
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <VirtualHost *:80>
  2. # The ServerName directive sets the request scheme, hostname and port that
  3. # the server uses to identify itself. This is used when creating
  4. # redirection URLs. In the context of virtual hosts, the ServerName
  5. # specifies what hostname must appear in the request's Host: header to
  6. # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless.
  7. # However, you must set it for any further virtual host explicitly.
  8. ServerName mywish.click
  9. ServerAdmin jorgen.laaker@gmail.com
  10. DocumentRoot /var/www/mywish.click/web
  11. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  12. # error, crit, alert, emerg.
  13. # It is also possible to configure the loglevel for particular
  14. # modules, e.g.
  15. #LogLevel info ssl:warn
  16. ErrorLog ${APACHE_LOG_DIR}/error.log
  17. CustomLog ${APACHE_LOG_DIR}/access.log combined
  18. # For most configuration files from conf-available/, which are
  19. # enabled or disabled at a global level, it is possible to
  20. # include a line for only one particular virtual host. For example the
  21. # following line enables the CGI configuration for this host only
  22. # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf
  23. </VirtualHost>
  24. <VirtualHost *:443>
  25. ServerName mywish.click
  26. ServerAdmin jorgen.laaker@gmail.com
  27. DocumentRoot /var/www/mywish.click/web
  28. ErrorLog ${APACHE_LOG_DIR}/error.log
  29. CustomLog ${APACHE_LOG_DIR}/access.log combined
  30. SSLEngine on
  31. SSLCertificateFile /etc/ssl/certs_m/ssl-cert-mywish.pem
  32. SSLCertificateChainFile //etc/ssl/certs_m/positive_ca_bundle.crt
  33. SSLCertificateKeyFile /etc/ssl/private/ssl-cert-mywish.key
  34. </VirtualHost>
Add Comment
Please, Sign In to add comment