hai world
This commit is contained in:
parent
eba08dc984
commit
cf38d6fc59
3 changed files with 6 additions and 16 deletions
|
|
@ -24,22 +24,11 @@
|
||||||
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
|
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
|
||||||
forceSSL = false; # Redirect HTTP to HTTPS?
|
forceSSL = false; # Redirect HTTP to HTTPS?
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
root = "/dev/null";
|
root = pkgs.runCommand "pdxdestiny-web" {} ''
|
||||||
locations."/" = {
|
mkdir -p $out
|
||||||
extraConfig = ''
|
cp ${./pdxdestiny/index.html} $out/index.html
|
||||||
default_type text/html;
|
cp ${pkgs.copyPathToStore ./logo.png} $out/logo.png
|
||||||
return 200 '<!DOCTYPE html>
|
'';
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Hello World</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Hello World!</h1>
|
|
||||||
<p>Welcome to pdxdestiny.com</p>
|
|
||||||
</body>
|
|
||||||
</html>';
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
"fbksdigital.com" = {
|
"fbksdigital.com" = {
|
||||||
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
|
enableACME = true; # Enable Let's Encrypt certificate for HTTPS
|
||||||
|
|
|
||||||
1
nixos/pdxdestiny/index.html
Normal file
1
nixos/pdxdestiny/index.html
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
hai world
|
||||||
0
nixos/pdxdestiny/logo.png
Normal file
0
nixos/pdxdestiny/logo.png
Normal file
Loading…
Reference in a new issue