pruflas: fixup webserver
This commit is contained in:
parent
a7a49bff68
commit
ff50c0d632
1 changed files with 6 additions and 3 deletions
|
@ -38,6 +38,7 @@ in
|
|||
];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
|
@ -50,8 +51,10 @@ in
|
|||
enableACME = false;
|
||||
forceSSL = false;
|
||||
root = "/var/www/pruflas.uwu";
|
||||
locations."/" = {
|
||||
tryFiles = "$uri $uri/ = 404";
|
||||
index = "index.html";
|
||||
locations."/".tryFiles = "$uri $uri/ = 404";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -109,7 +112,7 @@ in
|
|||
allowPing = true;
|
||||
allowedTCPPorts = [
|
||||
22 # SSH
|
||||
80
|
||||
80 # HTTP
|
||||
443 # HTTPS
|
||||
3000 # Hydra
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue