waffentrager: commented out service

This commit is contained in:
Mateusz Słodkowicz 2024-08-30 16:57:34 +02:00
parent 7ef15e5f5a
commit 5c9fb14d41
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 28 additions and 23 deletions

View File

@ -14,32 +14,37 @@
group = "nextcloud"; group = "nextcloud";
dataDir = config.waffentragerService.elements.jellyfinDir; dataDir = config.waffentragerService.elements.jellyfinDir;
}; };
/*
services.jellyseerr = {
enable = true;
openFirewall = true;
};*/
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"noot.materus.pl" = { "noot.materus.pl" = {
sslTrustedCertificate = "/var/lib/mnt_acme/materus.pl/chain.pem"; sslTrustedCertificate = "/var/lib/mnt_acme/materus.pl/chain.pem";
sslCertificateKey = "/var/lib/mnt_acme/materus.pl/key.pem"; sslCertificateKey = "/var/lib/mnt_acme/materus.pl/key.pem";
sslCertificate = "/var/lib/mnt_acme/materus.pl/fullchain.pem"; sslCertificate = "/var/lib/mnt_acme/materus.pl/fullchain.pem";
addSSL = true; addSSL = true;
http2 = false; http2 = false;
http3 = true; http3 = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:8096"; proxyPass = "http://127.0.0.1:8096";
extraConfig = '' extraConfig = ''
client_max_body_size 2G; client_max_body_size 2G;
include ${config.services.nginx.package}/conf/fastcgi.conf; include ${config.services.nginx.package}/conf/fastcgi.conf;
include ${config.services.nginx.package}/conf/fastcgi_params; include ${config.services.nginx.package}/conf/fastcgi_params;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
''; '';
};
};
}; };
};
};
}; };
} }