Compare commits
No commits in common. "042e3e787c1f5c1e56ae6c1e75808a316e8c0568" and "61fecf3bdb7452c087cb28b8f4dcd1aceb1cb559" have entirely different histories.
042e3e787c
...
61fecf3bdb
3 changed files with 8 additions and 17 deletions
|
@ -16,10 +16,7 @@
|
|||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = pkgs.writeShellScript "start-tremotesf.sh" ''
|
||||
sleep 5
|
||||
${lib.getExe pkgs.tremotesf} --minimized
|
||||
'';
|
||||
ExecStart = "${lib.getExe' pkgs.coreutils "sleep"} 5 && ${lib.getExe pkgs.tremotesf} --minimized";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
|
|
@ -22,17 +22,4 @@
|
|||
environment.persistence."/persist".directories = [
|
||||
config.services.paperless.dataDir
|
||||
];
|
||||
|
||||
imports = [ ../nginx-base ];
|
||||
|
||||
services.nginx.virtualHosts."paper.aciceri.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.paperless.port}";
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 50000M;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -47,6 +47,13 @@
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
"paper.aciceri.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.paperless.port}";
|
||||
};
|
||||
};
|
||||
# "${config.services.nextcloud.hostName}" = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue