Use aciceri.dev domains for VPNs too
This commit is contained in:
parent
a8b1fed384
commit
9677a6ca77
11 changed files with 62 additions and 71 deletions
|
@ -25,14 +25,15 @@
|
|||
|
||||
imports = [ ../nginx-base ];
|
||||
|
||||
services.nginx.virtualHosts."paper.aciceri.dev" = {
|
||||
services.nginx.virtualHosts."paper.sisko.wg.aciceri.dev" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
useACMEHost = "aciceri.dev";
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.paperless.port}";
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 50000M;
|
||||
'';
|
||||
serverAliases = [ "paper.sisko.zt.aciceri.dev" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue