Linode config update 22.05
This commit is contained in:
@@ -31,10 +31,10 @@ root root postgres
|
|||||||
|
|
||||||
services.logrotate = {
|
services.logrotate = {
|
||||||
enable = true;
|
enable = true;
|
||||||
paths = {
|
settings = {
|
||||||
postgres = {
|
postgres = {
|
||||||
enable = true;
|
enable = true;
|
||||||
path = "${config.services.postgresqlBackup.location}/*.gz";
|
files = "${config.services.postgresqlBackup.location}/*.gz";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
+22
-18
@@ -74,26 +74,30 @@ return 200 '${builtins.toJSON client}';
|
|||||||
|
|
||||||
services.matrix-synapse = {
|
services.matrix-synapse = {
|
||||||
enable = true;
|
enable = true;
|
||||||
database_name = "synapse";
|
|
||||||
database_user = "matrix-synapse";
|
|
||||||
# Identify ourselves as the root of our own domain
|
# Identify ourselves as the root of our own domain
|
||||||
server_name = "thehellings.com";
|
settings = {
|
||||||
#registration_shared_secret = "B9EoPr2WV9hzwc7uL2Sx1JmvCeKDEOGCpB0uginQcQtEH4wzRtkSIdo7lltrjSQa";
|
database.args = {
|
||||||
# Bind a single listener to localhost only, disable SSL/TLS, and put
|
user = "matrix-synapse";
|
||||||
# it behind an nginx proxy
|
name = "synapse";
|
||||||
listeners = [ {
|
};
|
||||||
port = 8448;
|
server_name = "thehellings.com";
|
||||||
bind_address = "127.0.0.1";
|
#registration_shared_secret = "B9EoPr2WV9hzwc7uL2Sx1JmvCeKDEOGCpB0uginQcQtEH4wzRtkSIdo7lltrjSQa";
|
||||||
type = "http"; # Offload SSL/TLS to Nginx
|
# Bind a single listener to localhost only, disable SSL/TLS, and put
|
||||||
tls = false;
|
# it behind an nginx proxy
|
||||||
resources = [ {
|
listeners = [ {
|
||||||
names = [ "client" "federation" ];
|
port = 8448;
|
||||||
compress = false; # Offload compressiong to Nginx
|
bind_addresses = ["127.0.0.1"];
|
||||||
|
type = "http"; # Offload SSL/TLS to Nginx
|
||||||
|
tls = false;
|
||||||
|
resources = [ {
|
||||||
|
names = [ "client" "federation" ];
|
||||||
|
compress = false; # Offload compressiong to Nginx
|
||||||
|
} ];
|
||||||
} ];
|
} ];
|
||||||
} ];
|
app_service_config_files = [
|
||||||
app_service_config_files = [
|
"/etc/${fbRegistrationFile}"
|
||||||
"/etc/${fbRegistrationFile}"
|
];
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open networking ports for the server
|
# Open networking ports for the server
|
||||||
|
|||||||
Reference in New Issue
Block a user