mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: opencloud test
This commit is contained in:
parent
c40d8064d5
commit
c6911defae
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ in
|
|||
services = {
|
||||
opencloud = {
|
||||
enable = true;
|
||||
url = "https://${config.services.opencloud.address}:${builtins.toString config.services.opencloud.port}";
|
||||
url = "https://${localhost}:${builtins.toString service.ports.port0}";
|
||||
port = service.ports.port0;
|
||||
address = localhost;
|
||||
stateDir = "/var/lib/${service.name}";
|
||||
|
@ -23,7 +23,7 @@ in
|
|||
virtualHosts = {
|
||||
"${host}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy ${localhost}:${toString service.ports.port0}
|
||||
reverse_proxy https://${localhost}:${toString service.ports.port0}
|
||||
|
||||
tls ${service.ssl.cert} ${service.ssl.key}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue