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" = {
|
"mx.sapphic.engineer" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
http2 = true;
|
||||||
|
http3 = true;
|
||||||
|
|
||||||
listen = [
|
listen = [
|
||||||
{ addr = "0.0.0.0"; port = 443; ssl = true; }
|
{ addr = "0.0.0.0"; port = 443; ssl = true; }
|
||||||
|
@ -54,6 +56,8 @@ in {
|
||||||
"happ.ystatic.buzz" = {
|
"happ.ystatic.buzz" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
http2 = true;
|
||||||
|
http3 = true;
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://hsb";
|
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.
|
# Generic store for /.well-known/ paths.
|
||||||
"well-known.sapphic.engineer" = {
|
"well-known.sapphic.engineer" = {
|
||||||
#serverAliases = [ "sapphic.engineer" ];
|
#serverAliases = [ "sapphic.engineer" ];
|
||||||
forceSSL = false;
|
forceSSL = false;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
http2 = true;
|
||||||
|
http3 = true;
|
||||||
|
|
||||||
locations."=/.well-known/matrix/server" = let
|
locations."=/.well-known/matrix/server" = let
|
||||||
alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON {
|
alias = pkgs.writeText "well-known-matrix-server" (builtins.toJSON {
|
||||||
|
|
Loading…
Add table
Reference in a new issue