# uWsgi with cgit

**URL:** https://discourse.nixos.org/t/uwsgi-with-cgit/31996
**Category:** Help
**Created:** [August 21, 2023, 7:07am UTC](https://discourse.nixos.org/t/uwsgi-with-cgit/31996 "2023-08-21T07:07:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![spalf](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/s/f4b2a3/32.png) [@spalf](https://discourse.nixos.org/u/spalf)
#### Post date: [August 21, 2023, 7:07am UTC](https://discourse.nixos.org/t/uwsgi-with-cgit/31996/1 "2023-08-21T07:07:23Z")

</div>

im trying to serve up cgit with uwsgi like this:

```auto
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:](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?
