mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(idp): ssl pre-read
This commit is contained in:
parent
b37e17bc0f
commit
2b1df931cb
5 changed files with 86 additions and 30 deletions
|
|
@ -68,12 +68,12 @@ in {
|
|||
listen = concatMap (addr: [
|
||||
(mkIf config.addSSL {
|
||||
inherit addr;
|
||||
port = 443;
|
||||
port = nginx.defaultSSLListenPort;
|
||||
ssl = true;
|
||||
})
|
||||
{
|
||||
inherit addr;
|
||||
port = 80;
|
||||
port = nginx.defaultHTTPListenPort;
|
||||
}
|
||||
{
|
||||
inherit addr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue