homepage back up again :)
This commit is contained in:
parent
445dd15c12
commit
49df755c44
|
@ -25,7 +25,7 @@
|
|||
./tail.nix
|
||||
./matrix.nix
|
||||
./coturn.nix
|
||||
# (import ./homepage.nix {inherit homepage;})
|
||||
(import ./homepage.nix {inherit homepage;})
|
||||
];
|
||||
|
||||
};
|
||||
|
|
12
matrix.nix
12
matrix.nix
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue