uWsgi with cgit

im trying to serve up cgit with uwsgi like this:

services.uwsgi = {
    enable = true;
    plugins = ["cgi"];
    instance = {
      type = "normal";
      http-socket = "localhost:5005";
      cgi = "${pkgs.cgit}/cgit/cgit.cgi";

but when i curl -L localhost:5005 i get curl: (52) Empty reply from server back
I see in the uwsgi.service logs everytime I do a request it says:
-- unavailable modifier requested: 0 --

I see from https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html: A good symptom to recognize an unloaded plugin is messages like “Unavailable modifier requested” in your logs.

Is there something else I need to import?