From e8318269d15a5b5f603079fa5ad045087374cb13 Mon Sep 17 00:00:00 2001 From: maddaat Date: Mon, 13 Apr 2026 18:08:28 +0400 Subject: Configure SSL certificates --- etc/httpd/_acme.conf | 4 ++++ etc/httpd/_listen443.conf | 8 ++++++++ etc/httpd/_listen80.conf | 1 + 3 files changed, 13 insertions(+) create mode 100644 etc/httpd/_acme.conf create mode 100644 etc/httpd/_listen443.conf create mode 100644 etc/httpd/_listen80.conf (limited to 'etc/httpd') diff --git a/etc/httpd/_acme.conf b/etc/httpd/_acme.conf new file mode 100644 index 0000000..3c1a0ec --- /dev/null +++ b/etc/httpd/_acme.conf @@ -0,0 +1,4 @@ +location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 +} diff --git a/etc/httpd/_listen443.conf b/etc/httpd/_listen443.conf new file mode 100644 index 0000000..92f270e --- /dev/null +++ b/etc/httpd/_listen443.conf @@ -0,0 +1,8 @@ +listen on * tls port 443 + +tls { + certificate "/etc/ssl/maddaat.org.fullchain.pem" + key "/etc/ssl/private/maddaat.org.key" +} + +hsts preload diff --git a/etc/httpd/_listen80.conf b/etc/httpd/_listen80.conf new file mode 100644 index 0000000..8e0f854 --- /dev/null +++ b/etc/httpd/_listen80.conf @@ -0,0 +1 @@ +listen on * port 80 -- cgit v1.2.3