add website
This commit is contained in:
parent
1cbb509689
commit
6c3cc4df70
2 changed files with 17 additions and 10 deletions
|
@ -13,6 +13,11 @@ let
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
return 200 '${builtins.toJSON data}';
|
return 200 '${builtins.toJSON data}';
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
website = builtins.fetchGit {
|
||||||
|
url = "https://git.0x76.dev/v/0x76.dev.git";
|
||||||
|
rev = "ecb7811560650381f41ee537b9c8493e004a108b";
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
|
@ -70,10 +75,12 @@ in {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/".extraConfig = ''
|
root = "${website}";
|
||||||
add_header Content-Type 'text/html; charset=UTF-8';
|
|
||||||
return 200 '<h1>Under Construction</h1>';
|
# locations."/".extraConfig = ''
|
||||||
'';
|
# add_header Content-Type 'text/html; charset=UTF-8';
|
||||||
|
# return 200 '<h1>Under Construction</h1>';
|
||||||
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
"blog.xirion.net" = {
|
"blog.xirion.net" = {
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"version": "1.40.3.8502",
|
"version": "1.40.3.8530",
|
||||||
"platform": "aarch64-linux",
|
"platform": "aarch64-linux",
|
||||||
"url": "https://downloads.plex.tv/plex-media-server-new/1.40.3.8502-f4f0b17e1/debian/plexmediaserver_1.40.3.8502-f4f0b17e1_arm64.deb",
|
"url": "https://downloads.plex.tv/plex-media-server-new/1.40.3.8530-ac2fe9b3c/debian/plexmediaserver_1.40.3.8530-ac2fe9b3c_arm64.deb",
|
||||||
"hash": "0128z2hpv8ysl7wqvhm4hrpprl5xaav083jzyfs940zl67ayglnl"
|
"hash": "1c8m3qhb3nqa9hma53crnzc1193gl63rdql32c5a7rbgwnds2m2x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"version": "1.40.3.8502",
|
"version": "1.40.3.8530",
|
||||||
"platform": "x86_64-linux",
|
"platform": "x86_64-linux",
|
||||||
"url": "https://downloads.plex.tv/plex-media-server-new/1.40.3.8502-f4f0b17e1/debian/plexmediaserver_1.40.3.8502-f4f0b17e1_amd64.deb",
|
"url": "https://downloads.plex.tv/plex-media-server-new/1.40.3.8530-ac2fe9b3c/debian/plexmediaserver_1.40.3.8530-ac2fe9b3c_amd64.deb",
|
||||||
"hash": "0rjys784575didrzx8bq0h0zgcbyrm7623n39si8qf4vg37k996m"
|
"hash": "16s22cf070i7acxvijw0cvqm97jrg61yg91gz918k7hrp6zsgz83"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue