Recommended nginx settings
This commit is contained in:
parent
8c2a444b44
commit
7ee6d7c77d
3 changed files with 11 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
|||
./hardware-configuration.nix
|
||||
# Supporting
|
||||
./buckets.nix
|
||||
./nginx.nix
|
||||
./mailu.nix
|
||||
# Services
|
||||
./suite.nix
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ in {
|
|||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "https://localhost:8081";
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
10
hosts/sesame/nginx.nix
Normal file
10
hosts/sesame/nginx.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
{
|
||||
services.nginx = {
|
||||
recommendedProxySettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue