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 *;
|
||||
return 200 '${builtins.toJSON data}';
|
||||
'';
|
||||
|
||||
website = builtins.fetchGit {
|
||||
url = "https://git.0x76.dev/v/0x76.dev.git";
|
||||
rev = "ecb7811560650381f41ee537b9c8493e004a108b";
|
||||
};
|
||||
in {
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
@ -70,10 +75,12 @@ in {
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
add_header Content-Type 'text/html; charset=UTF-8';
|
||||
return 200 '<h1>Under Construction</h1>';
|
||||
'';
|
||||
root = "${website}";
|
||||
|
||||
# locations."/".extraConfig = ''
|
||||
# add_header Content-Type 'text/html; charset=UTF-8';
|
||||
# return 200 '<h1>Under Construction</h1>';
|
||||
# '';
|
||||
};
|
||||
|
||||
"blog.xirion.net" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue