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