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" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1724499372, "lastModified": 1726945396,
"narHash": "sha256-xUaqVgunsc7x9iQWozV+I+spSnGLUDwzNL9uHqtJCqg=", "narHash": "sha256-Q81Yf+Kw55786VXWQyhYTmpv0CkQLQc7NDCLi8D/TFw=",
"ref": "refs/heads/svelte", "type": "tarball",
"rev": "4f8160830325cc0d03f6cf8cd1d52f650a1d58e2", "url": "https://github.com/yusdacra/website/archive/refs/heads/svelte.zip"
"revCount": 118,
"type": "git",
"url": "https://git.gaze.systems/dusk/website.git"
}, },
"original": { "original": {
"type": "git", "type": "tarball",
"url": "https://git.gaze.systems/dusk/website.git" "url": "https://github.com/yusdacra/website/archive/refs/heads/svelte.zip"
} }
}, },
"conduit": { "conduit": {

View File

@ -23,7 +23,7 @@
helix.url = "github:helix-editor/helix"; 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"; blog.inputs.nixpkgs.follows = "nixpkgs";
bernbot.url = "github:yusdacra/bernbot"; bernbot.url = "github:yusdacra/bernbot";

View File

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

View File

@ -31,6 +31,11 @@
services.nginx.virtualHosts."git.gaze.systems" = { services.nginx.virtualHosts."git.gaze.systems" = {
useACMEHost = "gaze.systems"; useACMEHost = "gaze.systems";
forceSSL = true; 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.