1
1
Fork 0

Compare commits

..

No commits in common. "23e5af1ad49bfa39458bb87635ff28823270988a" and "6a5514c2ee1622cc20a7f7c5c33728d563e72955" have entirely different histories.

4 changed files with 17 additions and 5 deletions

View File

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love"; PROJECT_ROOT = /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love;
in in
{ {
services.caddy = { services.caddy = {

View File

@ -14,6 +14,4 @@
security.acme.defaults.email = "admin@cutesealfanpage.love"; security.acme.defaults.email = "admin@cutesealfanpage.love";
# uncomment this to use the staging server # uncomment this to use the staging server
# security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory"; # security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
networking.firewall.allowedTCPPorts = [ 80 443 ];
} }

View File

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
let let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com"; PROJECT_ROOT = /workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com;
PORT = "5567"; PORT = "5567";
HOST = "localhost"; HOST = "localhost";
in in
@ -21,7 +21,7 @@ in
systemd.services = { systemd.services = {
ewanick-site = { ewanick-site = {
enable = true; enable = true;
description = "A blog powered by Emanote running solely on Markdown files."; description = "The hakyll executable that rebuilds the site when a new blog post is created.";
path = with pkgs; [ path = with pkgs; [
nix nix
git git

View File

@ -19,4 +19,18 @@
services.jitsi-videobridge.enable = false; services.jitsi-videobridge.enable = false;
services.jitsi-videobridge.openFirewall = false; services.jitsi-videobridge.openFirewall = false;
networking.firewall.allowedTCPPorts = [ 80 443 ];
# security.acme.email = "me@example.com";
# security.acme.acceptTerms = true;
# services.caddy = {
# enable = true;
# virtualHosts = {
# "git.ewanick.com" = {
# extraConfig = ''
# reverse_proxy localhost:3000
# '';
# };
# };
# };
} }