diff --git a/hosts/mirror/services/nginx.nix b/hosts/mirror/services/nginx.nix index 07b095d..40c947d 100644 --- a/hosts/mirror/services/nginx.nix +++ b/hosts/mirror/services/nginx.nix @@ -6,6 +6,7 @@ forceSSL = false; enableACME = false; locations."/" = { + allowCors = true; proxyPass = "http://127.0.0.1:7000"; }; }; diff --git a/hosts/spindle-hel/services/nginx.nix b/hosts/spindle-hel/services/nginx.nix index 61f0ab6..89b4326 100644 --- a/hosts/spindle-hel/services/nginx.nix +++ b/hosts/spindle-hel/services/nginx.nix @@ -11,6 +11,7 @@ locations."/xrpc" = { proxyPass = spindleAddr; proxyWebsockets = true; + allowCors = true; }; locations."/events" = { proxyPass = spindleAddr;