nginx: streamline all forceSSL
and enableACME
directives in one file
This commit is contained in:
parent
bedee4f90c
commit
4f1f88a779
32 changed files with 2 additions and 91 deletions
|
@ -5,6 +5,8 @@
|
|||
services.nginx.virtualHosts = mkOption {
|
||||
type = types.attrsOf (types.submodule
|
||||
({ name, ... }: {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
# split up nginx access logs per vhost
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/${name}_access.log;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue