mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +00:00
Make index of syncDomain return 404
This commit is contained in:
parent
ca1f96334f
commit
5c6d293338
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ in serverSystemConfiguration {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = domain;
|
useACMEHost = domain;
|
||||||
|
|
||||||
|
locations."/".proxyPass = "http://[::]:${toString config.services.site.port}/404";
|
||||||
|
locations."/assets".proxyPass = "http://[::]:${toString config.services.site.port}/assets";
|
||||||
|
|
||||||
locations."~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)"
|
locations."~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)"
|
||||||
.proxyPass = "http://[::]:${toString synapsePort}";
|
.proxyPass = "http://[::]:${toString synapsePort}";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue