fix nginx
This commit is contained in:
parent
0885fdbfdd
commit
b48e7ebb13
4 changed files with 24 additions and 25 deletions
|
|
@ -1,22 +1,13 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
services.nginx.virtualHosts."ellie.town" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/blog";
|
||||
|
||||
virtualHosts."ellie.town" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/blog";
|
||||
|
||||
locations."/" = {
|
||||
index = "index.html";
|
||||
};
|
||||
locations."/" = {
|
||||
index = "index.html";
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "contact@elliehigh.com";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue