From 5e35fa18b346906ded8d01d289c251f2cb291976 Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Thu, 22 Feb 2024 15:48:24 +0100 Subject: [PATCH] feat: update doc/apache.md --- doc/apache-proxy.md | 8 ++++++++ doc/apache-ssl.md | 23 +++++++++++++++++++++++ doc/apache.md | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 doc/apache-proxy.md create mode 100644 doc/apache-ssl.md diff --git a/doc/apache-proxy.md b/doc/apache-proxy.md new file mode 100644 index 0000000..8bdd528 --- /dev/null +++ b/doc/apache-proxy.md @@ -0,0 +1,8 @@ +* enable web service proxy modules +``` +sudo a2enmod proxy +sudo a2enmod proxy_http +sudo systemctl restart apache2 +systemctl status apache2 +sudo apachectl configtest +``` diff --git a/doc/apache-ssl.md b/doc/apache-ssl.md new file mode 100644 index 0000000..ef356f6 --- /dev/null +++ b/doc/apache-ssl.md @@ -0,0 +1,23 @@ +* check web service port configuration of `ssl_module` for port 443 +``` +sudo a2enmod ssl +sudo systemctl restart apache2 +systemctl status apache2 +sudo apachectl configtest +less /etc/apache2/ports.conf +``` + +* OPTION: check firewall (nftables) configuration for port 443 +``` +less /etc/nftables.conf +``` + +* OPTION: check firewall (ufw) configuration for port 443 +``` +sudo ufw status +``` + +* test API in browser +``` +https:// +``` \ No newline at end of file diff --git a/doc/apache.md b/doc/apache.md index ab62262..bf54444 100644 --- a/doc/apache.md +++ b/doc/apache.md @@ -33,3 +33,7 @@ sudo ufw status hostname -I http:// ``` + +* OPTION: enable web service proxy modules like [this](./apache-proxy.md) + +* OPTION: enable SSL like [this](./apache-ssl.md)