From f17e3be93d425f5554a806c0e847c34504a68873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Davi=20Ant=C3=B4nio=20da=20Silva=20Santos?= Date: Thu, 2 Mar 2023 16:23:25 -0300 Subject: Remove Apache HTTPD commands from Makefile The package Makefile contained Apache HTTPD commands, and some of them were repeated in the boca-web post installation maintainer script. The commands were removed from the Makefile, as this requires having a valid apache2 installation as a build dependency. --- debian/boca-web.postinst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/boca-web.postinst') diff --git a/debian/boca-web.postinst b/debian/boca-web.postinst index bcfce75..824654c 100644 --- a/debian/boca-web.postinst +++ b/debian/boca-web.postinst @@ -12,6 +12,14 @@ systemctl stop apache2 # Ensure that apache's embedded php module is not loaded a2dismod php8.1 +# Configure HTTPS in Apache +# See https://www.arubacloud.com/tutorial/how-to-enable-https-protocol-with-apache-2-on-ubuntu-20-04.aspx +# Enable SSL module +a2enmod ssl + +# Enable default SSL Virtual Host +a2ensite default-ssl + # Enable apache's shared object cache provider that uses a high-performance # cyclic buffer inside a shared memory segment # See https://httpd.apache.org/docs/2.4/socache.html -- cgit v1.2.3