Apache HTTP Server: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
The following virtual host has an HTTPS redirect and uses an LetsEncrypt ssl certificate
The following virtual host has an HTTPS redirect and uses an LetsEncrypt ssl certificate
<pre>
<pre>
# contents of /etc/apache2/sites-available/davidl.me
# contents of /etc/apache2/sites-available/davidl_me.conf
<VirtualHost *:80>
<VirtualHost *:80>
   ServerName www.davidl.me
   ServerName www.davidl.me
Line 146: Line 146:
;Note
;Note
* <code>Allow</code>, <code>Deny</code>, and <code>Order</code> are deprecated. They still work but you shouldn't add them to new code.
* <code>Allow</code>, <code>Deny</code>, and <code>Order</code> are deprecated. They still work but you shouldn't add them to new code.
==HTTP2==
[https://helgeklein.com/blog/2018/11/enabling-http-2-in-apache-on-ubuntu-18-04/ Guide] 
[https://tools.keycdn.com/http2-test Test website]