20 lines
405 B
Nix
20 lines
405 B
Nix
{
|
|
services.nginx.virtualHosts = {
|
|
# immich
|
|
"im.uku.moe" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
proxyPass = "http://localhost:2283";
|
|
proxyWebsockets = true;
|
|
};
|
|
|
|
extraConfig = ''
|
|
client_max_body_size 5000M;
|
|
proxy_read_timeout 600s;
|
|
proxy_send_timeout 600s;
|
|
send_timeout 600s;
|
|
'';
|
|
};
|
|
};
|
|
}
|