feat: website stuffs
This commit is contained in:
parent
0b7be99858
commit
e8fd52857d
15
flake.lock
15
flake.lock
@ -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": {
|
||||||
|
@ -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";
|
||||||
|
@ -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";
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -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.
Loading…
Reference in New Issue
Block a user