ingress-proxy: mekanoe.com
This commit is contained in:
parent
f77133e5ab
commit
5776917d59
1 changed files with 22 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue