aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-05-17 03:47:00 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2025-05-17 03:47:00 +0200
commit92e0b2d04b46c128eb5cb075bd1a9d8bf96d0197 (patch)
tree96d7f607068e8bd9ecfb9b4ccfc25fbf1d037cf0
parent2a4ae6b2eec4699a886b8b63631dc32fc885045b (diff)
downloadetc_apache2-92e0b2d04b46c128eb5cb075bd1a9d8bf96d0197.tar.gz
etc_apache2-92e0b2d04b46c128eb5cb075bd1a9d8bf96d0197.tar.bz2
etc_apache2-92e0b2d04b46c128eb5cb075bd1a9d8bf96d0197.zip
Add sdk-rebuild.replicant.us.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--sites-available/sdk-rebuild.replicant.us-init.conf19
-rw-r--r--sites-available/sdk-rebuild.replicant.us.conf38
2 files changed, 57 insertions, 0 deletions
diff --git a/sites-available/sdk-rebuild.replicant.us-init.conf b/sites-available/sdk-rebuild.replicant.us-init.conf
new file mode 100644
index 0000000..f787716
--- /dev/null
+++ b/sites-available/sdk-rebuild.replicant.us-init.conf
@@ -0,0 +1,19 @@
+# Copyright (C) 2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+<VirtualHost *:80>
+ ServerName sdk-rebuild.replicant.us
+ DocumentRoot /var/www/sdk-rebuild.replicant.us
+</VirtualHost>
diff --git a/sites-available/sdk-rebuild.replicant.us.conf b/sites-available/sdk-rebuild.replicant.us.conf
new file mode 100644
index 0000000..49562df
--- /dev/null
+++ b/sites-available/sdk-rebuild.replicant.us.conf
@@ -0,0 +1,38 @@
+# Copyright (C) 2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+<VirtualHost *:80>
+ ServerName sdk-rebuild.replicant.us
+ RewriteEngine On
+ RewriteCond %{HTTPS} off
+ RewriteCond %{REMOTE_ADDR} !=127.0.0.1
+ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
+</VirtualHost>
+
+<IfModule mod_ssl.c>
+ <VirtualHost *:443>
+ ServerAdmin contact@replicant.us
+ ServerName sdk-rebuild.replicant.us
+
+ DocumentRoot /var/www/sdk-rebuild.replicant.us
+
+ Header always set Strict-Transport-Security "max-age=31536000;"
+
+ SSLEngine On
+ SSLCertificateFile /etc/letsencrypt/live/sdk-rebuild.replicant.us/cert.pem
+ SSLCertificateChainFile /etc/letsencrypt/live/sdk-rebuild.replicant.us/chain.pem
+ SSLCertificateKeyFile /etc/letsencrypt/live/sdk-rebuild.replicant.us/privkey.pem
+ </VirtualHost>
+</IfModule>