trivios: add /static location
This commit is contained in:
parent
73790367ff
commit
076d454b9c
|
@ -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"
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue