Skip to content

Commit

Permalink
[nixos/server] install changedetection.io
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jan 11, 2025
1 parent 2c62193 commit 13f9f93
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions nixos/server/configuration.nix
Original file line number Diff line number Diff line change
@@ -395,6 +395,15 @@ in {
# Atuin Sync Server
services.atuin.enable = true;

# changedetection.io
services.changedetection-io = {
enable = true;
behindProxy = true;
port = 3060;
chromePort = 3061;
baseURL = "https://changedetection.frey.family";
};

# Mail
programs.msmtp = {
enable = true;
@@ -935,6 +944,21 @@ in {
};
};

"changedetection.frey.family" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:3060";
extraConfig = ''
# Set headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
'';
};
};

"users.pascal-wittmann.de" = {
forceSSL = true;
enableACME = true;

0 comments on commit 13f9f93

Please sign in to comment.