ingress-proxy: mekanoe.com

This commit is contained in:
41666 2024-01-06 00:48:38 -05:00
parent f77133e5ab
commit 5776917d59

View file

@ -28,6 +28,8 @@ in {
"mx.sapphic.engineer" = {
forceSSL = true;
enableACME = true;
http2 = true;
http3 = true;
listen = [
{ addr = "0.0.0.0"; port = 443; ssl = true; }
@ -54,6 +56,8 @@ in {
"happ.ystatic.buzz" = {
forceSSL = true;
enableACME = true;
http2 = true;
http3 = true;
locations."/" = {
proxyPass = "http://hsb";
@ -69,11 +73,29 @@ in {
'';
};
"mekanoe.com" = {
http2 = true;
http3 = true;
forceSSL = true;
enableACME = true;
locations."/".root = pkgs.stdenvNoCC.mkDerivation {
name = "mekanoe.com";
src = builtins.fetchGit {
url = "https://codeberg.org/noe/personal-site.git";
ref = "main";
};
installPhase = "cp -r $src $out";
};
};
# Generic store for /.well-known/ paths.
"well-known.sapphic.engineer" = {
#serverAliases = [ "sapphic.engineer" ];
forceSSL = false;
enableACME = true;
http2 = true;
http3 = true;
locations."=/.well-known/matrix/server" = let
alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON {