Add emanotes flake part
This commit is contained in:
parent
203fad17d1
commit
fb6d498ad5
6 changed files with 239 additions and 8 deletions
|
|
@ -1,8 +1,9 @@
|
|||
{pkgs, ...}: let
|
||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
||||
PORT = "5567";
|
||||
HOST = "localhost";
|
||||
emanote-version = "1.2.0";
|
||||
PORT = 5567;
|
||||
emanote-version = "1.4.0";
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
|
|
@ -10,7 +11,7 @@ in {
|
|||
"ewanick.com" = {
|
||||
serverAliases = ["www.ewanick.com"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${PORT}
|
||||
reverse_proxy ${HOST}:${toString PORT}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue