hainich: remove websites

websites are now back on gitlab again
keep-around/bfaa6a54ab7ae3dd79b5da6cbf6919521b802e98
schweby 2021-07-14 22:15:03 +02:00
parent 725517a035
commit 04375f8152
No known key found for this signature in database
GPG Key ID: B880491D046E2F87
3 changed files with 0 additions and 56 deletions

View File

@ -12,7 +12,6 @@
../../common
# ./wireguard.nix
./services/nginx.nix
./services/websites.nix
# ./k8s.nix
./services/ghost_waszumfff.nix
./services/gitlab-runner.nix

View File

@ -1,43 +0,0 @@
{ config, lib, pkgs, ... }:
let
sources = import ../../../nix/sources.nix;
in
let
haccearth = pkgs.stdenv.mkDerivation {
name = "hacc.earth-website";
src = sources.haccearth-website.outPath.outPath;
buildPhase = ''
${pkgs.jekyll.outPath}/bin/jekyll build
'';
installPhase = ''
mkdir -p $out
cp -r _site/* $out
'';
};
infra4futurede = pkgs.stdenv.mkDerivation {
name = "infra4future.de-website";
src = sources.infra4future-website.outPath.outPath;
buildPhase = ''
${pkgs.jekyll.outPath}/bin/jekyll build
'';
installPhase = ''
mkdir -p $out
cp -r _site/* $out
'';
};
in
{
services.nginx.virtualHosts."hacc.earth" = {
forceSSL = true;
enableACME = true;
root = haccearth.outPath;
};
services.nginx.virtualHosts."infra4future.de" = {
forceSSL = true;
enableACME = true;
root = infra4futurede.outPath;
};
}

View File

@ -37,18 +37,6 @@
"url_template": "https://releases.mattermost.com/<version>/mattermost-<version>-linux-amd64.tar.gz",
"version": "5.34.3"
},
"haccearth-website": {
"branch": "master",
"repo": "https://gitlab.infra4future.de/hacc/infra4future/hacc.earth.git",
"rev": "1a79b7468f156a3bb2da1c4c810d7db9e86fdb9f",
"type": "git"
},
"infra4future-website": {
"branch": "master",
"repo": "https://gitlab.infra4future.de/hacc/infra4future/infra4future.de.git",
"rev": "7520f0c343f33dbdb385df15cd3fbcde79d734c4",
"type": "git"
},
"mumble-website": {
"branch": "master",
"repo": "https://gitlab.infra4future.de/hacc/infra4future/mumble.infra4future.de.git",