1 { config, lib, name, ... }:
3 inherit (lib) mkOption types;
9 type = with types; nullOr str;
11 example = "http://www.example.org/";
13 Sets up a simple reverse proxy as described by <link xlink:href="https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html#simple" />.
18 type = with types; nullOr str;
20 example = "index.php index.html";
22 Adds DirectoryIndex directive. See <link xlink:href="https://httpd.apache.org/docs/2.4/mod/mod_dir.html#directoryindex" />.
27 type = with types; nullOr path;
29 example = "/your/alias/directory";
31 Alias directory for requests. See <link xlink:href="https://httpd.apache.org/docs/2.4/mod/mod_alias.html#alias" />.
35 extraConfig = mkOption {
39 These lines go to the end of the location verbatim.
47 Order of this location block in relation to the others in the vhost.
48 The semantics are the same as with `lib.mkOrder`. Smaller values have