diff --git a/flake.lock b/flake.lock index a59a2d8..97e4448 100644 --- a/flake.lock +++ b/flake.lock @@ -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" }, diff --git a/hosts/wolumonde/modules/atproto.nix b/hosts/wolumonde/modules/atproto.nix index 8dc3282..135f772 100644 --- a/hosts/wolumonde/modules/atproto.nix +++ b/hosts/wolumonde/modules/atproto.nix @@ -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; + } + ''; + }; } diff --git a/hosts/wolumonde/modules/limbusart.nix b/hosts/wolumonde/modules/limbusart.nix index e5a5605..8d1af5e 100644 --- a/hosts/wolumonde/modules/limbusart.nix +++ b/hosts/wolumonde/modules/limbusart.nix @@ -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"; + }; } diff --git a/hosts/wolumonde/modules/nginx.nix b/hosts/wolumonde/modules/nginx.nix index 49f55b7..6527570 100644 --- a/hosts/wolumonde/modules/nginx.nix +++ b/hosts/wolumonde/modules/nginx.nix @@ -20,7 +20,9 @@ "mq.gaze.systems" "couchdb.gaze.systems" "doc.gaze.systems" + "pmart.gaze.systems" "limbus.gaze.systems" + "bsky.gaze.systems" ]; }; }; diff --git a/secrets/websiteConfig.age b/secrets/websiteConfig.age index 6b617e8..d608929 100644 Binary files a/secrets/websiteConfig.age and b/secrets/websiteConfig.age differ