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