Apache HTTP Server: Difference between revisions

m HTTP/2 Support: Added prefork
m openSUSE 15.4 specific: Added => to title
 
(4 intermediate revisions by the same user not shown)
Line 35: Line 35:
* Test your site using https://
* Test your site using https://
* Remember that your browser will throw an error, it is safe to ignore it and add an exception. This will stop future re-occurrence.
* Remember that your browser will throw an error, it is safe to ignore it and add an exception. This will stop future re-occurrence.
=== openSUSE =>15.4 specific ===
The following line needs editing as follows to allow TLS to function in <code>/etc/sysconfig/apache2</code>:
APACHE_SERVER_FLAGS="SSL HTTP2"


== HTTP/2 Support ==
== HTTP/2 Support ==
Line 50: Line 55:
To enable HTTP/2:
To enable HTTP/2:


* In the software manager in YaST, you will need to make sure that <code>libnghttp2-14</code> shared library is installed.
* In the software manager in YaST, you will need to make sure that <code>libnghttp2-14</code> shared library is installed (Later versions of openSUSE have this installed already so just check).
* Open a terminal window
* Open a terminal window
* Type <code>sudo a2enmod http2</code>. This will enable the built in module in Apache.
* Type <code>sudo a2enmod http2</code>. This will enable the built in module in Apache.
'''As of at least openSUSE 15.4, the following is already done by default'''
* Open kwrite and open the file <code>/etc/apache2/httpd.conf</code>
* Open kwrite and open the file <code>/etc/apache2/httpd.conf</code>
* At the end of the file add the following line:
* At the end of the file add the following line: