feat: new subdomains, redirect stuff

This commit is contained in:
dusk 2024-11-22 02:35:08 +09:00
parent 67e5cef19f
commit a7d59f6d96
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
5 changed files with 25 additions and 7 deletions

View File

@ -100,8 +100,8 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1727795645,
"narHash": "sha256-yJZbfE3UIqNDCHNNs+73eToN4MMpq3UxnhOEzYTrfGo=",
"lastModified": 1731969219,
"narHash": "sha256-FkzplQ6ro4XeiPzm6tOY4zhI4Tw/iwQ/nOQU+f3biLk=",
"type": "tarball",
"url": "https://git.gaze.systems/gazesys/website/releases/download/latest/source.tgz"
},
@ -835,11 +835,11 @@
"rust-overlay": "rust-overlay_3"
},
"locked": {
"lastModified": 1718118942,
"narHash": "sha256-kYj27WotKcbDsaxjByFPvAfRDQFpKqld5TXQevCh3b4=",
"lastModified": 1730541623,
"narHash": "sha256-/R+fLHxZHn3eTlpWObgHw/yrj+Ap7gb+HZtAwn6DnNE=",
"ref": "refs/heads/master",
"rev": "3e7076c748ef19c1fb23fe2631337240440d6f04",
"revCount": 37,
"rev": "a32954e841bf66819b5e584831417451f342b819",
"revCount": 40,
"type": "git",
"url": "https://git.gaze.systems/dusk/limbusart.git"
},

View File

@ -13,4 +13,14 @@ in {
alias ${wellKnownFile}/;
'';
};
# redirect any requests to my profile
services.nginx.virtualHosts."bsky.gaze.systems" = {
useACMEHost = "gaze.systems";
forceSSL = true;
extraConfig = ''
location / {
return 301 https://bsky.app/profile/gaze.systems$request_uri;
}
'';
};
}

View File

@ -33,9 +33,15 @@ in {
};
users.groups.limbusart = {};
services.nginx.virtualHosts."limbus.gaze.systems" = {
services.nginx.virtualHosts."pmart.gaze.systems" = {
useACMEHost = "gaze.systems";
forceSSL = true;
locations."/".proxyPass = "http://localhost:3000";
};
# redirects
services.nginx.virtualHosts."limbus.gaze.systems" = {
useACMEHost = "gaze.systems";
forceSSL = true;
globalRedirect = "pmart.gaze.systems";
};
}

View File

@ -20,7 +20,9 @@
"mq.gaze.systems"
"couchdb.gaze.systems"
"doc.gaze.systems"
"pmart.gaze.systems"
"limbus.gaze.systems"
"bsky.gaze.systems"
];
};
};

Binary file not shown.