2024-04-06 19:49:07 +02:00
|
|
|
{ lib, pkgs, inputs, ... }:
|
2024-02-16 13:59:46 +01:00
|
|
|
{
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
2024-04-06 19:49:07 +02:00
|
|
|
services.nginx.virtualHosts."vatthauer.xyz" = {
|
2024-04-06 16:44:54 +02:00
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
2024-04-06 19:49:07 +02:00
|
|
|
root = pkgs.callPackage ./resumee-website.nix {};
|
2024-04-06 16:44:54 +02:00
|
|
|
};
|
2024-04-15 14:24:16 +02:00
|
|
|
services.nginx.virtualHosts."files.vatthauer.xyz" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
root = "/var/www";
|
|
|
|
};
|
2024-02-16 13:59:46 +01:00
|
|
|
}
|