mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
Don't actually host element
This commit is contained in:
parent
29283cc1cf
commit
86a55f471d
1 changed files with 2 additions and 7 deletions
|
@ -16,7 +16,6 @@ let
|
|||
|
||||
synapsePort = 8001;
|
||||
slidingSyncPort = 8002;
|
||||
exporterPort = 9060;
|
||||
in serverSystemConfiguration {
|
||||
age.secrets."cube/password.secret.matrix-synapse".owner = "matrix-synapse";
|
||||
age.secrets."cube/password.sync.matrix-synapse".owner = "matrix-synapse";
|
||||
|
@ -101,12 +100,8 @@ in serverSystemConfiguration {
|
|||
forceSSL = true;
|
||||
useACMEHost = domain;
|
||||
|
||||
locations."/".root = pkgs.element-web.override {
|
||||
conf = {
|
||||
default_server_name = chatDomain;
|
||||
sso_redirect_options.immediate = true;
|
||||
};
|
||||
};
|
||||
locations."/".proxyPass = "http://[::]${toString config.services.site.port}/404";
|
||||
locations."/assets".proxyPass = "http://[::]${toString config.services.site.port}/assets";
|
||||
|
||||
locations."= /.well-known/matrix/client".extraConfig = wellKnownResponse clientConfig;
|
||||
locations."= /.well-known/matrix/server".extraConfig = wellKnownResponse serverConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue