ma bepasty-dual: unauthorized on error
This commit is contained in:
parent
851c0e47d1
commit
99b737e3e5
@ -32,6 +32,11 @@ in {
|
||||
"paste.${config.krebs.build.host.name}"
|
||||
"paste.r"
|
||||
];
|
||||
extraConfig = ''
|
||||
if ( $server_addr = "${external-ip}" ) {
|
||||
return 403;
|
||||
}
|
||||
'';
|
||||
};
|
||||
defaultPermissions = "admin,list,create,read,delete";
|
||||
secretKeyFile = secKey;
|
||||
|
@ -6,11 +6,6 @@ let
|
||||
internal-ip = config.krebs.build.host.nets.retiolum.ip4.addr;
|
||||
hn = config.krebs.build.host.name;
|
||||
in {
|
||||
krebs.bepasty.servers."paste.r".nginx.extraConfig = ''
|
||||
if ( $server_addr = "${external-ip}" ) {
|
||||
return 403;
|
||||
}
|
||||
'';
|
||||
krebs.tinc_graphs = {
|
||||
enable = true;
|
||||
nginx = {
|
||||
|
Loading…
Reference in New Issue
Block a user