diff --git a/flake.lock b/flake.lock index d7c350a..d5456ab 100644 --- a/flake.lock +++ b/flake.lock @@ -100,17 +100,14 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1724499372, - "narHash": "sha256-xUaqVgunsc7x9iQWozV+I+spSnGLUDwzNL9uHqtJCqg=", - "ref": "refs/heads/svelte", - "rev": "4f8160830325cc0d03f6cf8cd1d52f650a1d58e2", - "revCount": 118, - "type": "git", - "url": "https://git.gaze.systems/dusk/website.git" + "lastModified": 1726945396, + "narHash": "sha256-Q81Yf+Kw55786VXWQyhYTmpv0CkQLQc7NDCLi8D/TFw=", + "type": "tarball", + "url": "https://github.com/yusdacra/website/archive/refs/heads/svelte.zip" }, "original": { - "type": "git", - "url": "https://git.gaze.systems/dusk/website.git" + "type": "tarball", + "url": "https://github.com/yusdacra/website/archive/refs/heads/svelte.zip" } }, "conduit": { diff --git a/flake.nix b/flake.nix index 639964b..f0c1d4f 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ helix.url = "github:helix-editor/helix"; - blog.url = "git+https://git.gaze.systems/dusk/website.git"; + blog.url = "https://github.com/yusdacra/website/archive/refs/heads/svelte.zip"; blog.inputs.nixpkgs.follows = "nixpkgs"; bernbot.url = "github:yusdacra/bernbot"; diff --git a/hosts/wolumonde/modules/blog.nix b/hosts/wolumonde/modules/blog.nix index 9be581b..f28a307 100644 --- a/hosts/wolumonde/modules/blog.nix +++ b/hosts/wolumonde/modules/blog.nix @@ -41,6 +41,9 @@ in { forceSSL = true; locations."/" = { proxyPass = "http://localhost:${toString port}"; + extraConfig = '' + add_header cache-control "no-store"; + ''; }; }; } diff --git a/hosts/wolumonde/modules/gitea.nix b/hosts/wolumonde/modules/gitea.nix index d0b1e46..0841a49 100644 --- a/hosts/wolumonde/modules/gitea.nix +++ b/hosts/wolumonde/modules/gitea.nix @@ -31,6 +31,11 @@ services.nginx.virtualHosts."git.gaze.systems" = { useACMEHost = "gaze.systems"; forceSSL = true; - locations."/".proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}"; + locations."/" = { + extraConfig = '' + client_max_body_size 50m; + ''; + proxyPass = "http://localhost:${toString config.services.gitea.settings.server.HTTP_PORT}"; + }; }; } diff --git a/secrets/websiteConfig.age b/secrets/websiteConfig.age index f45fdba..6b617e8 100644 Binary files a/secrets/websiteConfig.age and b/secrets/websiteConfig.age differ