diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2025-05-18 23:12:51 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2025-05-18 23:13:29 +0200 |
commit | 7ed8fb5869e32a815023ab11e8b0f5079e1aa209 (patch) | |
tree | 054a60ba33f769f39cbaa6f5d50f93c8d29a5de7 | |
parent | 0493a5893df7ffb927eff4dcc2e0f42ffc06a265 (diff) | |
download | etc_apache2-7ed8fb5869e32a815023ab11e8b0f5079e1aa209.tar.gz etc_apache2-7ed8fb5869e32a815023ab11e8b0f5079e1aa209.tar.bz2 etc_apache2-7ed8fb5869e32a815023ab11e8b0f5079e1aa209.zip |
So far we had 0 mirrors and all the released files were hosted at
OSUOSL.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | sites-available/download.replicant.us-init.conf | 19 | ||||
-rw-r--r-- | sites-available/download.replicant.us.conf | 38 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sites-available/download.replicant.us-init.conf b/sites-available/download.replicant.us-init.conf new file mode 100644 index 0000000..3763bd7 --- /dev/null +++ b/sites-available/download.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 download.replicant.us + DocumentRoot /var/www/download.replicant.us +</VirtualHost> diff --git a/sites-available/download.replicant.us.conf b/sites-available/download.replicant.us.conf new file mode 100644 index 0000000..d63fc6e --- /dev/null +++ b/sites-available/download.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 download.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 download.replicant.us + + DocumentRoot /var/www/download.replicant.us + + Header always set Strict-Transport-Security "max-age=31536000;" + + SSLEngine On + SSLCertificateFile /etc/letsencrypt/live/download.replicant.us/cert.pem + SSLCertificateChainFile /etc/letsencrypt/live/download.replicant.us/chain.pem + SSLCertificateKeyFile /etc/letsencrypt/live/download.replicant.us/privkey.pem + </VirtualHost> +</IfModule> |