@@ -184,7 +184,7 @@ in {
|
|||||||
atuin = runTest ./atuin.nix;
|
atuin = runTest ./atuin.nix;
|
||||||
audiobookshelf = runTest ./audiobookshelf.nix;
|
audiobookshelf = runTest ./audiobookshelf.nix;
|
||||||
auth-mysql = runTest ./auth-mysql.nix;
|
auth-mysql = runTest ./auth-mysql.nix;
|
||||||
authelia = handleTest ./authelia.nix {};
|
authelia = runTest ./authelia.nix;
|
||||||
auto-cpufreq = handleTest ./auto-cpufreq.nix {};
|
auto-cpufreq = handleTest ./auto-cpufreq.nix {};
|
||||||
autobrr = handleTest ./autobrr.nix {};
|
autobrr = handleTest ./autobrr.nix {};
|
||||||
avahi = handleTest ./avahi.nix {};
|
avahi = handleTest ./avahi.nix {};
|
||||||
|
|||||||
@@ -1,16 +1,13 @@
|
|||||||
# Test Authelia as an auth server for Traefik as a reverse proxy of a local web service
|
# Test Authelia as an auth server for Traefik as a reverse proxy of a local web service
|
||||||
import ./make-test-python.nix (
|
{ lib, ... }:
|
||||||
{ lib, ... }:
|
{
|
||||||
{
|
|
||||||
name = "authelia";
|
name = "authelia";
|
||||||
meta.maintainers = with lib.maintainers; [ jk ];
|
meta.maintainers = with lib.maintainers; [ jk ];
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
authelia =
|
authelia =
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -183,5 +180,4 @@ import ./make-test-python.nix (
|
|||||||
assert "hello", "could not reach authed static site with valid credentials" in \
|
assert "hello", "could not reach authed static site with valid credentials" in \
|
||||||
authelia.succeed("curl --insecure -sSf -u 'bob:password' -H Host:static-basic-auth.example.com https://authelia:443/")
|
authelia.succeed("curl --insecure -sSf -u 'bob:password' -H Host:static-basic-auth.example.com https://authelia:443/")
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user