Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3. ServerAdmin host2.cave.escura.com
  4. ServerAdmin admin@cave.escura.com
  5.  
  6. DocumentRoot /var/www/html
  7. Alias /simplesaml /var/simplesamlphp/www
  8. <Directory /var/simplesamlphp/www/>
  9. Require all granted
  10. </Directory>
  11.  
  12. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  13. # error, crit, alert, emerg.
  14. # It is also possible to configure the loglevel for particular
  15. # modules, e.g.
  16. #LogLevel info ssl:warn
  17.  
  18. ErrorLog ${APACHE_LOG_DIR}/error.log
  19. CustomLog ${APACHE_LOG_DIR}/access.log combined
  20.  
  21. # For most configuration files from conf-available/, which are
  22. # enabled or disabled at a global level, it is possible to
  23. # include a line for only one particular virtual host. For example the
  24. # following line enables the CGI configuration for this host only
  25. # after it has been globally disabled with "a2disconf".
  26. #Include conf-available/serve-cgi-bin.conf
  27.  
  28. # SSL Engine Switch:
  29. # Enable/Disable SSL for this virtual host.
  30. SSLEngine on
  31.  
  32. # A self-signed (snakeoil) certificate can be created by installing
  33. # the ssl-cert package. See
  34. # /usr/share/doc/apache2/README.Debian.gz for more info.
  35. # If both key and certificate are stored in the same file, only the
  36. # SSLCertificateFile directive is needed.
  37. SSLCertificateFile /root/certificates/idp-cert-server.crt
  38. SSLCertificateKeyFile /root/certificates/idpkey-server.key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement