initial commit
This commit is contained in:
commit
e3580500ac
7 changed files with 203 additions and 0 deletions
19
modules/nginx.nix
Normal file
19
modules/nginx.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{...}:
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
user = "prever";
|
||||
group = "users";
|
||||
|
||||
virtualHosts."yelbakri.dev" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www";
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "yousefelbakri09@gmail.com";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue