mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
refactor(nginx): ssl module
This commit is contained in:
parent
69c014b24e
commit
a7e35fbc88
28 changed files with 794 additions and 546 deletions
|
|
@ -43,6 +43,7 @@ in {
|
|||
settings = {
|
||||
hostname = mkDefault hostname;
|
||||
proxy = mkDefault (if cfg.sslCertificate != null then "reencrypt" else "edge");
|
||||
proxy-headers = mkDefault "xforwarded";
|
||||
};
|
||||
|
||||
sslCertificate = mkDefault "${cert}/fullchain.pem";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue