For the complete documentation index, see llms.txt. This page is also available as Markdown.

Apache basic auth

In this configuration, an example of how to replicate an Apache server protected by basic auth.

apiVersion: "v1"
protocol: "http"
address: ":8080"
description: "Apache 401"
commands:
  - regex: ".*"
    handler: "Unauthorized"
    headers:
      - "www-Authenticate: Basic"
      - "server: Apache"
    statusCode: 401

Last updated