overleaf: init
All checks were successful
Flake check / flake-check (pull_request) Successful in 18s
All checks were successful
Flake check / flake-check (pull_request) Successful in 18s
This commit is contained in:
parent
dab1a39866
commit
f64ee1322f
7 changed files with 290 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
./miniflux.nix
|
||||
./netdata.nix
|
||||
./nginx.nix
|
||||
./overleaf-oci.nix
|
||||
./open-webui-oci.nix
|
||||
./print-server.nix
|
||||
./rsshub-oci.nix
|
||||
|
|
|
|||
18
hosts/rx4/services/overleaf-oci.nix
Normal file
18
hosts/rx4/services/overleaf-oci.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ outputs, constants, ... }:
|
||||
|
||||
let
|
||||
inherit (constants.services.overleaf-oci) port subdomain;
|
||||
in
|
||||
{
|
||||
imports = [ outputs.nixosModules.overleaf-oci ];
|
||||
|
||||
services.overleaf-oci = {
|
||||
enable = true;
|
||||
inherit port;
|
||||
reverseProxy = {
|
||||
enable = true;
|
||||
inherit subdomain;
|
||||
forceSSL = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -77,6 +77,11 @@ in
|
|||
error_log /var/log/nginx/open-webui-error.log debug;
|
||||
'';
|
||||
};
|
||||
virtualHosts."${constants.services.overleaf-oci.fqdn}" = mkVirtualHost {
|
||||
inherit ssl;
|
||||
address = constants.hosts.rx4.ip;
|
||||
port = constants.services.overleaf-oci.port;
|
||||
};
|
||||
virtualHosts."${constants.services.rsshub-oci.fqdn}" = mkVirtualHost {
|
||||
inherit ssl;
|
||||
address = constants.hosts.rx4.ip;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue