feat(nftables): Add NFTables integration for kernel-level forwarding and update documentation, tests, and helper functions

This commit is contained in:
2025-05-15 19:39:09 +00:00
parent 4568623600
commit 5d0b68da61
19 changed files with 977 additions and 1068 deletions

View File

@ -82,9 +82,7 @@ tap.test('Routes: Should create HTTPS route with TLS termination', async () => {
tap.test('Routes: Should create HTTP to HTTPS redirect', async () => {
// Create an HTTP to HTTPS redirect
const redirectRoute = createHttpToHttpsRedirect('example.com', 443, {
status: 301
});
const redirectRoute = createHttpToHttpsRedirect('example.com', 443);
// Validate the route configuration
expect(redirectRoute.match.ports).toEqual(80);