hosts/web-2: Add etebase.clerie.de
This commit is contained in:
parent
c091d4a952
commit
df7fba921f
@ -9,6 +9,7 @@
|
||||
./chaosevents.nix
|
||||
./clerie.nix
|
||||
./drop.nix
|
||||
./etebase.nix
|
||||
./fieldpoc.nix
|
||||
./gitea.nix
|
||||
./ip.nix
|
||||
|
21
hosts/web-2/etebase.nix
Normal file
21
hosts/web-2/etebase.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.etebase-server = {
|
||||
enable = true;
|
||||
port = 8001;
|
||||
settings.allowed_hosts.allowed_host1 = "etebase.clerie.de";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts = {
|
||||
"etebase.clerie.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://127.0.0.1:8001";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user