added aqore-nix & changed nginx settings ebat ego v rot
This commit is contained in:
parent
032a5f4b04
commit
7e2f7a341a
24 changed files with 573 additions and 90 deletions
23
servers/reine/nginx.nix
Normal file
23
servers/reine/nginx.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
security.acme.defaults.email = "porject-a@project-a.space";
|
||||
security.acme.acceptTerms = true;
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
defaultSSLListenPort = 443;
|
||||
|
||||
virtualHosts = {
|
||||
"affine.project-a.space" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3010";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue