mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
fixed synapse who was not binding to ipv4
This commit is contained in:
parent
1b7fecf202
commit
bbe94ad466
4 changed files with 22 additions and 12 deletions
|
@ -9,16 +9,10 @@
|
||||||
virtualHosts.":3001".extraConfig = ''
|
virtualHosts.":3001".extraConfig = ''
|
||||||
reverse_proxy :3000
|
reverse_proxy :3000
|
||||||
'';
|
'';
|
||||||
|
|
||||||
virtualHosts.":4001".extraConfig = ''
|
virtualHosts.":4001".extraConfig = ''
|
||||||
reverse_proxy :4000
|
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";
|
baseUrl = "https://talk.hypervirtual.world";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
networking.domain = "hypervirtual.world";
|
||||||
sops.secrets.data = {
|
sops.secrets.data = {
|
||||||
sopsFile = ../secrets/matrix.yaml;
|
sopsFile = ../secrets/matrix.yaml;
|
||||||
format = "yaml";
|
format = "yaml";
|
||||||
|
@ -20,13 +20,16 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
serverName = baseUrl;
|
serverName = "hypervirtual.world";
|
||||||
public_baseurl = baseUrl;
|
public_baseurl = baseUrl;
|
||||||
enable_registration = false;
|
enable_registration = false;
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
port = 8008;
|
port = 8008;
|
||||||
bind_addresses = [ "::1" ];
|
bind_addresses = [
|
||||||
|
"::1"
|
||||||
|
"127.0.0.1"
|
||||||
|
];
|
||||||
type = "http";
|
type = "http";
|
||||||
tls = false;
|
tls = false;
|
||||||
x_forwarded = true;
|
x_forwarded = true;
|
||||||
|
|
|
@ -53,9 +53,9 @@ in
|
||||||
4001 # uptime-kuma
|
4001 # uptime-kuma
|
||||||
5030 # slskd
|
5030 # slskd
|
||||||
8080 # searxng
|
8080 # searxng
|
||||||
|
8008
|
||||||
|
8448
|
||||||
8083 # calibre-web
|
8083 # calibre-web
|
||||||
8009 # matrix
|
|
||||||
8449
|
|
||||||
8400 # crafty-controller
|
8400 # crafty-controller
|
||||||
9000 # authentik
|
9000 # authentik
|
||||||
9091 # transmission
|
9091 # transmission
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue