trivios: add /static location

This commit is contained in:
Alejandro Soto 2023-09-13 00:55:13 -06:00
parent 73790367ff
commit 076d454b9c
No known key found for this signature in database
GPG key ID: 570448E3382BDEC5

View file

@ -11,6 +11,8 @@
default = true;
locations = {
"/static".alias = ../ui/main/static;
"/".extraConfig = ''
uwsgi_pass unix://${config.services.uwsgi.runDir}/uwsgi.sock;
'';
@ -33,7 +35,7 @@
};
};
udev.extraRules = = ''
udev.extraRules = ''
KERNEL=="gpiochip*", GROUP="uwsgi", MODE="660"
'';
};