mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-14 13:01:04 +01:00
Merge branch 'fix-nix-docs' into 'next'
fix nix docs See merge request famedly/conduit!449
This commit is contained in:
commit
5e6b498c22
1 changed files with 10 additions and 9 deletions
|
@ -107,7 +107,7 @@ in
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${server_name}" = {
|
"${matrix_hostname}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
||||||
|
@ -124,14 +124,6 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
merge_slashes off;
|
|
||||||
'';
|
|
||||||
|
|
||||||
"${matrix_hostname}" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
|
|
||||||
locations."/_matrix/" = {
|
locations."/_matrix/" = {
|
||||||
proxyPass = "http://backend_conduit$request_uri";
|
proxyPass = "http://backend_conduit$request_uri";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
@ -141,6 +133,15 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
merge_slashes off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
"${server_name}" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
|
||||||
locations."=/.well-known/matrix/server" = {
|
locations."=/.well-known/matrix/server" = {
|
||||||
# Use the contents of the derivation built previously
|
# Use the contents of the derivation built previously
|
||||||
alias = "${well_known_server}";
|
alias = "${well_known_server}";
|
||||||
|
|
Loading…
Reference in a new issue