CSE115A notifier and added jellyfin

This commit is contained in:
Random936 2025-02-23 18:07:28 -08:00
parent 708686fc5a
commit 64a568c7bc

View File

@ -42,6 +42,14 @@
dataDir = "/mnt/media/plex";
};
# Jellyfin Setup
services.jellyfin = {
enable = true;
openFirewall = true;
user = "media";
dataDir = "/mnt/media/jellyfin";
};
# Nextcloud Setup
services.nextcloud = {
enable = true;
@ -131,6 +139,21 @@
proxy_pass http://localhost:3300/;
'';
};
# Notifier CSE115A
"notifier-api.randomctf.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
access_log /var/log/nginx/access.cse115a.log;
'';
locations."/".extraConfig = ''
proxy_buffering off;
proxy_pass http://localhost:5000/;
'';
};
};
};
@ -138,6 +161,7 @@
acceptTerms = true;
certs = {
"randomctf.com".email = "admin@randomctf.com";
"notifier-api.randomctf.com".email = "admin@randomctf.com";
${config.services.nextcloud.hostName}.email = "admin@randomctf.com";
${config.services.gitea.settings.server.DOMAIN}.email = "admin@randomctf.com";
};