1
Fork 0
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:
RGBCube 2024-01-18 08:39:22 +03:00
parent ca1f96334f
commit 5c6d293338
No known key found for this signature in database

View file

@ -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}";