This commit is contained in:
Adrian Gunnar Lauterer 2025-01-13 14:02:23 +01:00
parent e93174e665
commit 3f6d2e3580

View File

@ -1,14 +1,14 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
services.nginx = { services.nginx = {
virtualHosts."lauterer.it" = { #virtualHosts."lauterer.it" = {
forceSSL = true; # forceSSL = true;
useACMEHost = config.networking.domain; # useACMEHost = config.networking.domain;
locations."/" = { # locations."/" = {
proxyWebsockets = true; # proxyWebsockets = true;
proxyPass = "http://100.84.215.84"; # proxyPass = "http://100.84.215.84";
}; # };
}; #};
virtualHosts."managment.lauterer.it" = { virtualHosts."managment.lauterer.it" = {
forceSSL = true; forceSSL = true;
@ -50,16 +50,16 @@
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path; #basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
}; };
virtualHosts."hybel.lauterer.it" = { # virtualHosts."hybel.lauterer.it" = {
forceSSL = true; # forceSSL = true;
useACMEHost = config.networking.domain; # useACMEHost = config.networking.domain;
locations."/" = { # locations."/" = {
proxyWebsockets = true; # proxyWebsockets = true;
proxyPass = "http://100.109.23.4:8123"; # proxyPass = "http://100.109.23.4:8123";
}; # };
# ignorerer sikkerhet for littegran for å oprettholde lettvinthet og app kompatibilitet. # # ignorerer sikkerhet for littegran for å oprettholde lettvinthet og app kompatibilitet.
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path; # #basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
}; # };
virtualHosts."jellyfin.lauterer.it" = { virtualHosts."jellyfin.lauterer.it" = {
@ -115,15 +115,15 @@
# #basicAuthFile = config.sops.secrets."nginx/defaultpass".path; # #basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
#}; #};
virtualHosts."azul.256.no" = { # virtualHosts."azul.256.no" = {
forceSSL = true; # forceSSL = true;
useACMEHost = config.networking.domain; # useACMEHost = config.networking.domain;
locations."/" = { # locations."/" = {
proxyWebsockets = true; # proxyWebsockets = true;
proxyPass = "http://localhost:8095"; # proxyPass = "http://localhost:8095";
}; # };
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path; # #basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
}; # };
#virtualHosts."shiori.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it"; #virtualHosts."shiori.lauterer.it" = config.services.nginx.virtualHosts."archive.lauterer.it";