1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Fix nginx config

This commit is contained in:
RGBCube 2024-01-18 08:03:21 +03:00
parent 17f3c952e7
commit 66c843494e
No known key found for this signature in database

View file

@ -93,8 +93,8 @@ in serverSystemConfiguration {
forceSSL = true; forceSSL = true;
useACMEHost = domain; useACMEHost = domain;
locations."/".proxyPass = "http://[::]${toString config.services.site.port}/404"; locations."/".proxyPass = "http://[::]:${toString config.services.site.port}/404";
locations."/assets".proxyPass = "http://[::]${toString config.services.site.port}/assets"; locations."/assets".proxyPass = "http://[::]:${toString config.services.site.port}/assets";
locations."= /.well-known/matrix/client".extraConfig = wellKnownResponse clientConfig; locations."= /.well-known/matrix/client".extraConfig = wellKnownResponse clientConfig;
locations."= /.well-known/matrix/server".extraConfig = wellKnownResponse serverConfig; locations."= /.well-known/matrix/server".extraConfig = wellKnownResponse serverConfig;