mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2025-01-22 00:14:47 +01:00
routes
This commit is contained in:
parent
e93174e665
commit
3f6d2e3580
@ -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";
|
||||||
@ -137,7 +137,7 @@
|
|||||||
proxyPass = "http://100.84.215.84:8082";
|
proxyPass = "http://100.84.215.84:8082";
|
||||||
};
|
};
|
||||||
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
|
#basicAuthFile = config.sops.secrets."nginx/defaultpass".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user