34 lines
732 B
Nix
34 lines
732 B
Nix
|
{
|
||
|
services.nginx = {
|
||
|
enable = true;
|
||
|
recommendedGzipSettings = true;
|
||
|
recommendedOptimisation = true;
|
||
|
recommendedProxySettings = true;
|
||
|
recommendedTlsSettings = true;
|
||
|
};
|
||
|
|
||
|
services.nginx.virtualHosts."git.vatthauer.xyz" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
locations."/" = {
|
||
|
proxyPass = "http://localhost:3001/";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services.nginx.virtualHosts."bitwarden.vatthauer.xyz" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
locations."/" = {
|
||
|
proxyPass = "http://localhost:8222/";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
services.nginx.virtualHosts."video.vatthauer.xyz" = {
|
||
|
enableACME = true;
|
||
|
forceSSL = false;
|
||
|
locations."/" = {
|
||
|
proxyPass = "http://localhost:8096";
|
||
|
};
|
||
|
};
|
||
|
}
|