mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
fixed synapse who was not binding to ipv4
This commit is contained in:
parent
1b7fecf202
commit
bbe94ad466
|
@ -9,16 +9,10 @@
|
|||
virtualHosts.":3001".extraConfig = ''
|
||||
reverse_proxy :3000
|
||||
'';
|
||||
|
||||
virtualHosts.":4001".extraConfig = ''
|
||||
reverse_proxy :4000
|
||||
'';
|
||||
virtualHosts.":8009".extraConfig = ''
|
||||
reverse_proxy :8008
|
||||
'';
|
||||
|
||||
virtualHosts.":8449".extraConfig = ''
|
||||
reverse_proxy :8448
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
13
features/prometheus.nix
Normal file
13
features/prometheus.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
|
||||
services.prometheus = {
|
||||
enable = true;
|
||||
port = 9001;
|
||||
};
|
||||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -9,7 +9,7 @@ let
|
|||
baseUrl = "https://talk.hypervirtual.world";
|
||||
in
|
||||
{
|
||||
|
||||
networking.domain = "hypervirtual.world";
|
||||
sops.secrets.data = {
|
||||
sopsFile = ../secrets/matrix.yaml;
|
||||
format = "yaml";
|
||||
|
@ -20,13 +20,16 @@ in
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
serverName = baseUrl;
|
||||
serverName = "hypervirtual.world";
|
||||
public_baseurl = baseUrl;
|
||||
enable_registration = false;
|
||||
listeners = [
|
||||
{
|
||||
port = 8008;
|
||||
bind_addresses = [ "::1" ];
|
||||
bind_addresses = [
|
||||
"::1"
|
||||
"127.0.0.1"
|
||||
];
|
||||
type = "http";
|
||||
tls = false;
|
||||
x_forwarded = true;
|
||||
|
|
|
@ -53,9 +53,9 @@ in
|
|||
4001 # uptime-kuma
|
||||
5030 # slskd
|
||||
8080 # searxng
|
||||
8008
|
||||
8448
|
||||
8083 # calibre-web
|
||||
8009 # matrix
|
||||
8449
|
||||
8400 # crafty-controller
|
||||
9000 # authentik
|
||||
9091 # transmission
|
||||
|
|
Loading…
Reference in a new issue