grrr
This commit is contained in:
parent
35d6ce3453
commit
42c3512fad
|
@ -10,11 +10,11 @@ with lib;
|
||||||
enable = true;
|
enable = true;
|
||||||
environment = {
|
environment = {
|
||||||
DB_URL="postgres:///nocodb?host=/run/postgresql";
|
DB_URL="postgres:///nocodb?host=/run/postgresql";
|
||||||
PORT = 9989;
|
PORT = "9989";
|
||||||
NC_PUBLIC_URL = "https://${dn}";
|
NC_PUBLIC_URL = "https://${dn}";
|
||||||
NC_SMTP_FROM = "no-reply@mail.tfcconnection.org";
|
NC_SMTP_FROM = "no-reply@mail.tfcconnection.org";
|
||||||
NC_SMTP_HOST = "mail.tfcconnection.org";
|
NC_SMTP_HOST = "mail.tfcconnection.org";
|
||||||
NC_SMTP_PORT = 587;
|
NC_SMTP_PORT = "587";
|
||||||
NC_SMTP_USERNAME = "no-reply@mail.tfcconnection.org";
|
NC_SMTP_USERNAME = "no-reply@mail.tfcconnection.org";
|
||||||
};
|
};
|
||||||
environmentFile = /nocoenv;
|
environmentFile = /nocoenv;
|
||||||
|
@ -24,7 +24,7 @@ with lib;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString config.services.nocodb.environment.PORT}";
|
proxyPass = "http://127.0.0.1:${config.services.nocodb.environment.PORT}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue