1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

fix: allow api server in firewall and add CORS header

This commit is contained in:
oddlama 2025-05-18 18:23:19 +02:00
parent 4c2f98f9e4
commit e24f9e4c0b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
5 changed files with 43 additions and 0 deletions

View file

@ -80,6 +80,7 @@ in
client.via = "sentinel";
firewallRuleForNode.sentinel.allowedTCPPorts = [
80
8080
9000
];
};
@ -88,6 +89,7 @@ in
client.via = "ward";
firewallRuleForNode.ward-web-proxy.allowedTCPPorts = [
80
8080
9000
];
};
@ -173,6 +175,11 @@ in
mode = "440";
group = "ente";
};
age.secrets.ente-smtp-password = {
generator.script = "alnum";
mode = "440";
group = "ente";
};
services.minio = {
enable = true;
@ -206,6 +213,15 @@ in
rporigins = [ "https://${enteAccountsDomain}" ];
};
# FIXME: blocked on https://github.com/ente-io/ente/issues/5958
# smtp = {
# host = config.repo.secrets.local.ente.mail.host;
# port = 465;
# email = config.repo.secrets.local.ente.mail.from;
# username = config.repo.secrets.local.ente.mail.user;
# password._secret = config.age.secrets.ente-smtp-password.path;
# };
s3 = {
use_path_style_urls = true;
b2-eu-cen = {

Binary file not shown.