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
c6911defae
commit
625e1ffd2f
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ in
|
||||||
services = {
|
services = {
|
||||||
opencloud = {
|
opencloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
url = "https://${localhost}:${builtins.toString service.ports.port0}";
|
url = "${localhost}:${builtins.toString service.ports.port0}";
|
||||||
port = service.ports.port0;
|
port = service.ports.port0;
|
||||||
address = localhost;
|
address = localhost;
|
||||||
stateDir = "/var/lib/${service.name}";
|
stateDir = "/var/lib/${service.name}";
|
||||||
|
@ -23,7 +23,7 @@ in
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${host}" = {
|
"${host}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
reverse_proxy https://${localhost}:${toString service.ports.port0}
|
reverse_proxy ${localhost}:${toString service.ports.port0}
|
||||||
|
|
||||||
tls ${service.ssl.cert} ${service.ssl.key}
|
tls ${service.ssl.cert} ${service.ssl.key}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue