github.com/avenga/couper@v1.12.2/server/testdata/file_serving/conf_ac.hcl (about)

     1  server "TestFileServing" {
     2    hosts = ["protect.me"]
     3  
     4    access_control = ["ba"]
     5  
     6    error_file = "./error.html"
     7  
     8    files {
     9      document_root = "./htdocs"
    10    }
    11  
    12    spa {
    13      base_path = "/app"
    14      bootstrap_file = "./htdocs/spa.html"
    15      paths = ["/**"]
    16    }
    17  }
    18  
    19  definitions {
    20    basic_auth "ba" {
    21      password = "hans"
    22    }
    23  }