homepage back up again :)

This commit is contained in:
admin 2024-04-04 13:40:20 +02:00
parent 445dd15c12
commit 49df755c44
3 changed files with 17 additions and 17 deletions

View file

@ -25,7 +25,7 @@
./tail.nix
./matrix.nix
./coturn.nix
# (import ./homepage.nix {inherit homepage;})
(import ./homepage.nix {inherit homepage;})
];
};

View file

@ -54,9 +54,9 @@ services.postgresql = {
${fqdn} = {
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
return 404;
'';
# locations."/".extraConfig = ''
# return 404;
# '';
# Forward all Matrix API calls to the synapse Matrix homeserver. A trailing slash
# *must not* be used here.
locations."/_matrix".proxyPass = "http://[::1]:8008";
@ -67,9 +67,9 @@ services.postgresql = {
${domain} = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8008";
};
# locations."/" = {
# proxyPass = "http://localhost:8008";
# };
# This section is not needed if the server_name of matrix-synapse is equal to
# the domain (i.e. example.org from @foo:example.org) and the federation port
# is 8448.

View file

@ -66,14 +66,14 @@ in
# startAt = "*-*-* 01:15:00";
# };
};
# services.onlyoffice = {
# enable = true;
# port = 8123;
# };
# services.nginx.virtualHosts."office.sondell.org" = {
# forceSSL = true;
# enableACME = true;
# locations."/".proxyPass = "http://localhost:8123";
# };
services.onlyoffice = {
enable = true;
port = 8123;
hostname = "office.sondell.org";
};
services.nginx.virtualHosts."office.sondell.org" = {
forceSSL = true;
enableACME = true;
# locations."/".proxyPass = "http://12:8123";
};
}