fix weblate expose #376
3 changed files with 16 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
||||||
./services/heisenbridge.nix
|
./services/heisenbridge.nix
|
||||||
./services/uptime-kuma.nix
|
./services/uptime-kuma.nix
|
||||||
./services/matrix-sliding-sync.nix
|
./services/matrix-sliding-sync.nix
|
||||||
|
./services/reverse-proxy.nix
|
||||||
./wireguard
|
./wireguard
|
||||||
./zfs.nix
|
./zfs.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
./services/loki.nix
|
./services/loki.nix
|
||||||
./services/prometheus.nix
|
./services/prometheus.nix
|
||||||
./services/yiff-stash.nix
|
./services/yiff-stash.nix
|
||||||
|
./services/reverse-proxy.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
|
|
@ -27,7 +27,20 @@ in {
|
||||||
services.caddy.virtualHosts = {
|
services.caddy.virtualHosts = {
|
||||||
"hydra.chir.rs" = mkConfig "https://hydra.int.chir.rs";
|
"hydra.chir.rs" = mkConfig "https://hydra.int.chir.rs";
|
||||||
"weblate.chir.rs" = mkConfig "https://weblate.int.chir.rs";
|
"weblate.chir.rs" = mkConfig "https://weblate.int.chir.rs";
|
||||||
"weblate.int.chir.rs" = mkConfig "http://localhost:23432";
|
"weblate.int.chir.rs" = {
|
||||||
|
useACMEHost = "int.chir.rs";
|
||||||
|
logFormat = pkgs.lib.mkForce "";
|
||||||
|
extraConfig = ''
|
||||||
|
import baseConfig
|
||||||
|
reverse_proxy {
|
||||||
|
to http://localhost:23432
|
||||||
|
header_up Host weblate.chir.rs
|
||||||
|
transport http {
|
||||||
|
versions 1.1 2 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
"mastodon.chir.rs" = {
|
"mastodon.chir.rs" = {
|
||||||
useACMEHost = "chir.rs";
|
useACMEHost = "chir.rs";
|
||||||
logFormat = pkgs.lib.mkForce "";
|
logFormat = pkgs.lib.mkForce "";
|
||||||
|
|
Loading…
Reference in a new issue