Merge branch 'main' of git.graven.dev:emelie/nix-deploy
This commit is contained in:
commit
5669eb73f1
14
README.md
14
README.md
|
@ -1 +1,15 @@
|
|||
NixOS deployments using [nixus](https://github.com/Infinisil/nixus).
|
||||
|
||||
First make sure you have `niv` so you can upgrade dependency versions in `sources.json`.
|
||||
```sh
|
||||
$ nix-shell -p niv
|
||||
$ (cd config/sources && niv update)
|
||||
```
|
||||
Build with:
|
||||
```sh
|
||||
$ nix-build deploy/
|
||||
```
|
||||
Deploy by running the generated executable.
|
||||
```sh
|
||||
$ ./results
|
||||
```
|
||||
|
|
|
@ -30,5 +30,12 @@
|
|||
forceSSL = true;
|
||||
locations."/".proxyPass = "http://127.0.0.1:9000";
|
||||
};
|
||||
"beanz.one" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
root = "/var/www/beanz.one/public";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue