Add and organize test assets
This commit is contained in:
parent
d0958d2366
commit
3a838b4f21
8 changed files with 9 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
|||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs.buildPackages; [
|
||||
go
|
||||
caddy
|
||||
];
|
||||
}
|
||||
|
|
8
test_assets/Caddyfile
Normal file
8
test_assets/Caddyfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
http://localhost:8001 {
|
||||
forward_auth http://localhost:8080 {
|
||||
uri /auth
|
||||
}
|
||||
|
||||
templates
|
||||
respond `Hello, {{.Req.Header.Get "Remote-User"}}`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue