mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 01:38:14 -04:00

* Add check endpoint which can be used with nginx' auth_request function * feat(cmd): allow configuring redirect domains * test: add test environment for the nginx_auth PR This is a full local setup of the nginx_auth PR including HTTPS so that it's easier to validate in isolation. This requires an install of k3s (https://k3s.io) with traefik set to listen on localhost. This will be amended in the future but for now this works enough to ship it. Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(cmd|lib): allow empty redirect domains variable Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(test): add space to target variable in anubis container Signed-off-by: Xe Iaso <me@xeiaso.net> * docs(admin): rewrite subrequest auth docs, make generic * docs(install): document REDIRECT_DOMAINS flag Signed-off-by: Xe Iaso <me@xeiaso.net> * feat(lib): clamp redirects to the same HTTP host Only if REDIRECT_DOMAINS is not set. Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Co-authored-by: Xe Iaso <me@xeiaso.net>
26 lines
841 B
JSON
26 lines
841 B
JSON
{
|
|
"name": "@techaro/anubis",
|
|
"version": "1.0.0-see-VERSION-file",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "npm run assets && go test ./...",
|
|
"test:integration": "npm run assets && go test -v ./internal/test",
|
|
"assets": "go generate ./... && ./web/build.sh && ./xess/build.sh",
|
|
"build": "npm run assets && go build -o ./var/anubis ./cmd/anubis",
|
|
"dev": "npm run assets && go run ./cmd/anubis --use-remote-address",
|
|
"container": "npm run assets && go run ./cmd/containerbuild",
|
|
"package": "yeet"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"cssnano": "^7.0.6",
|
|
"cssnano-preset-advanced": "^7.0.6",
|
|
"esbuild": "^0.25.2",
|
|
"postcss-cli": "^11.0.1",
|
|
"postcss-import": "^16.1.0",
|
|
"postcss-import-url": "^7.2.0",
|
|
"postcss-url": "^10.1.3"
|
|
}
|
|
} |