a few tweaks
This commit is contained in:
parent
b496778102
commit
25f3767948
2 changed files with 7 additions and 3 deletions
|
|
@ -57,6 +57,10 @@ in {
|
|||
}) redirects // lib.mapAttrs' (subdomain: cfg: lib.nameValuePair (if subdomain == "@" then base else "${subdomain}.${base}") {
|
||||
useACMEHost = base;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/${subdomain}.access.log;
|
||||
error_log /var/log/nginx/${subdomain}.error.log;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = cfg.dest;
|
||||
proxyWebsockets = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue