Compare commits
2 commits
e53be29b0c
...
bf382371cb
Author | SHA1 | Date | |
---|---|---|---|
bf382371cb | |||
3bf20808b5 |
|
@ -15,6 +15,24 @@
|
|||
./forgejo.nix
|
||||
];
|
||||
|
||||
services.nginx.virtualHosts."lelgenio.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = pkgs.runCommand "www-dir" { } ''
|
||||
mkdir -p $out
|
||||
cat > $out/index.html <<EOF
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<body>
|
||||
<h1>
|
||||
Nothing to see here!
|
||||
<h1>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
'';
|
||||
};
|
||||
|
||||
# # Enable networking
|
||||
# networking.networkmanager.enable = true;
|
||||
# Set your time zone.
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.phantom-nextcloud = {
|
||||
file = ../../secrets/phantom-nextcloud.age;
|
||||
|
|
Loading…
Reference in a new issue