fix socket config uwsgi

This commit is contained in:
Alejandro Diaz 2023-09-11 03:06:01 -06:00
parent 7c5d9a5c03
commit 90b2fb2803

View file

@ -13,7 +13,6 @@
locations = { locations = {
"/".extraConfig = '' "/".extraConfig = ''
uwsgi_pass unix://${config.services.uwsgi.runDir}/uwsgi.sock; uwsgi_pass unix://${config.services.uwsgi.runDir}/uwsgi.sock;
include uwsgi_params;
''; '';
}; };
}; };
@ -29,6 +28,7 @@
pythonPackages = py: [ py.callPackage ../ui { } ]; pythonPackages = py: [ py.callPackage ../ui { } ];
module = "homemanager.wsgi"; module = "homemanager.wsgi";
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
}; };
}; };
}; };