feat: website stuffs

This commit is contained in:
dusk 2024-09-22 01:55:17 +03:00
parent 0b7be99858
commit e8fd52857d
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
5 changed files with 16 additions and 11 deletions

View File

@ -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": {

View File

@ -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";

View File

@ -41,6 +41,9 @@ in {
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:${toString port}";
extraConfig = ''
add_header cache-control "no-store";
'';
};
};
}

View File

@ -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}";
};
};
}

Binary file not shown.