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
|
@ -113,8 +113,6 @@ in
|
|||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."${config.services.portunus.domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations = {
|
||||
"/".proxyPass = "http://localhost:${toString config.services.portunus.port}";
|
||||
"/dex".proxyPass = "http://localhost:${toString config.services.portunus.dex.port}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue