matemat: fix satisfy any
This commit is contained in:
parent
234dfba216
commit
9a4f31f52b
|
@ -16,9 +16,12 @@
|
|||
default = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = libC.defaultListen;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:3000";
|
||||
extraConfig = libC.hqNetworkOnly + ''
|
||||
add_header X-Robots-Tag "noindex" always;
|
||||
|
||||
auth_basic secured;
|
||||
auth_basic_user_file ${config.sops.secrets."nginx/basic-auth".path};
|
||||
'';
|
||||
|
|
|
@ -3,15 +3,16 @@ _:
|
|||
{
|
||||
defaultListen = let
|
||||
listen = [
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 80;
|
||||
}
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 443;
|
||||
ssl = true;
|
||||
}
|
||||
# breaks satisfy any
|
||||
# {
|
||||
# addr = "[::]";
|
||||
# port = 80;
|
||||
# }
|
||||
# {
|
||||
# addr = "[::]";
|
||||
# port = 443;
|
||||
# ssl = true;
|
||||
# }
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 8080;
|
||||
|
|
Loading…
Reference in New Issue